Update FreeBSD startup script (#1474)
This commit is contained in:
parent
e2a095bc96
commit
2cf9a4626f
1 changed files with 2 additions and 0 deletions
|
@ -16,12 +16,14 @@ load_rc_config $name
|
||||||
|
|
||||||
: ${peertube_enable:=NO}
|
: ${peertube_enable:=NO}
|
||||||
|
|
||||||
|
sig_stop=HUP
|
||||||
peertube_chdir="/var/www/peertube/peertube-latest"
|
peertube_chdir="/var/www/peertube/peertube-latest"
|
||||||
peertube_env="HOME=/var/www/peertube \
|
peertube_env="HOME=/var/www/peertube \
|
||||||
NODE_ENV=production \
|
NODE_ENV=production \
|
||||||
NODE_CONFIG_DIR=/var/www/peertube/config \
|
NODE_CONFIG_DIR=/var/www/peertube/config \
|
||||||
USER=peertube"
|
USER=peertube"
|
||||||
peertube_user=peertube
|
peertube_user=peertube
|
||||||
|
procname="node:"
|
||||||
|
|
||||||
command="/usr/local/bin/npm"
|
command="/usr/local/bin/npm"
|
||||||
command_args="start >> /var/log/peertube/${name}.log 2>&1 &"
|
command_args="start >> /var/log/peertube/${name}.log 2>&1 &"
|
||||||
|
|
Loading…
Reference in a new issue