[Unit] Description=OpenNebula Gate Service After=syslog.target network.target remote-fs.target opennebula.service BindsTo=opennebula.service [Service] User=oneadmin Group=cloud Type=simple ExecStart=/usr/bin/ruby /usr/lib/one/onegate/onegate-server.rb ExecStop=/bin/kill -TERM $MAINPID PIDFile=/var/run/one/onegate.pid Restart=on-abnormal [Install] WantedBy=multi-user.target