blob: faec24cdc58d8883c3b526380da24e4b937a16ce (
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=on-abnormal
[Install]
WantedBy=multi-user.target
|