1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
one/share/pkgs/openSUSE/systemd/econe.service
2013-11-11 18:41:39 +01:00

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