uncloud/ucloud/hack/rc-scripts/ucloud-metadata

8 lines
No EOL
191 B
Text

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