mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
21 lines
464 B
Desktop File
21 lines
464 B
Desktop File
[Unit]
|
|
Description=OpenNebula EC2 Interface Service
|
|
After=syslog.target
|
|
After=network.target
|
|
After=one.service
|
|
After=one_scheduler.service
|
|
BindTo=one.service
|
|
!ConditionFileExists=/var/lock/one/.econe.lock
|
|
|
|
[Service]
|
|
ExecStart=/bin/bash -c "/usr/bin/econe-server start"
|
|
ExecStartPost=/usr/bin/touch /var/lock/one/.econe.lock
|
|
ExecStop=/bin/kill -INT $MAINPID
|
|
PIDFile=/var/run/one/econe.pid
|
|
Type=simple
|
|
Group=cloud
|
|
User=oneadmin
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|