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