forked from uncloud/uncloud
8 lines
199 B
Text
8 lines
199 B
Text
|
#!/sbin/openrc-run
|
||
|
|
||
|
name="$RC_SVCNAME"
|
||
|
pidfile="/var/run/${name}.pid"
|
||
|
command="$(which pipenv)"
|
||
|
command_args="run python ucloud.py host ${HOSTNAME}"
|
||
|
command_background="true"
|
||
|
directory="/root/ucloud"
|