uncloud-mravi/uncloud_etcd_based/uncloud/hack/rc-scripts/ucloud-scheduler
2020-04-02 19:29:08 +02:00

8 lines
No EOL
192 B
Text

#!/sbin/openrc-run
name="$RC_SVCNAME"
pidfile="/var/run/${name}.pid"
command="$(which pipenv)"
command_args="run python ucloud.py scheduler"
command_background="true"
directory="/root/ucloud"