conf_server/default_configuration/pywallter/pywallter.rc

17 lines
249 B
Plaintext
Raw Normal View History

2023-01-11 01:03:34 +01:00
#!/bin/ksh
daemon="/usr/local/bin/python3"
daemon_flags="wsgi.py"
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