Correction & update scripts
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
#!/bin/ksh
|
||||
|
||||
daemon="/usr/local/bin/python3"
|
||||
daemon_flags="wsgi.py"
|
||||
daemon="/usr/local/bin/python3 wsgi.py"
|
||||
daemon_execdir="/home/pywallter/pywallter"
|
||||
daemon_user="pywallter"
|
||||
location="/home/pywallter/pywallter"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_start() {
|
||||
${rcexec} "cd ${location}; ${daemon} ${daemon_flags}"
|
||||
}
|
||||
|
||||
rc_bg=YES
|
||||
rc_cmd $1
|
||||
|
||||
Reference in New Issue
Block a user