uncloud-mravi/ucloud/hack/rc-scripts/ucloud-scheduler

8 lines
192 B
Text
Raw Normal View History

#!/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"