add rc-scripts and confs. Make log message clear when host is not found

This commit is contained in:
ahmadbilalkhalid 2019-11-27 19:19:57 +05:00
commit db7fcdd66f
5 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,8 @@
#!/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"