summarylogtreecommitdiffstats
path: root/opennebula-onegate.service
blob: 63db31ca74e3d8cbcc4c12b8784839ad9e5e944d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[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=always

[Install]
WantedBy=multi-user.target