mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
21 lines
486 B
Desktop File
21 lines
486 B
Desktop File
[Unit]
|
|
Description=OpenNebula Gate Service for Service monitoring
|
|
After=syslog.target
|
|
After=network.target
|
|
After=one.service
|
|
After=one_scheduler.service
|
|
BindTo=one.service
|
|
!ConditionFileExists=/var/lock/one/.onegate.lock
|
|
|
|
[Service]
|
|
ExecStart=/bin/bash -c "/usr/bin/onegate-server start"
|
|
ExecStartPost=/usr/bin/touch /var/lock/one/.onegate.lock
|
|
ExecStop=/bin/kill -INT $MAINPID
|
|
PIDFile=/var/run/one/onegate.pid
|
|
Type=simple
|
|
Group=cloud
|
|
User=oneadmin
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|