diff options
author | GĂ©rald Niel <gerald.niel@gegeweb.org> | 2018-12-10 10:51:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-10 10:51:28 +0100 |
commit | 2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f (patch) | |
tree | 5adf9c940d6d66b371f1960df6e7da4746d1500c | |
parent | e2a095bc96dc3dfadba8c3d8487f3a18bc2b7a03 (diff) | |
download | PeerTube-2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f.tar.gz PeerTube-2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f.tar.zst PeerTube-2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f.zip |
Update FreeBSD startup script (#1474)
-rwxr-xr-x | support/freebsd/peertube | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/freebsd/peertube b/support/freebsd/peertube index 78fdf5848..f28660f2c 100755 --- a/support/freebsd/peertube +++ b/support/freebsd/peertube | |||
@@ -16,12 +16,14 @@ load_rc_config $name | |||
16 | 16 | ||
17 | : ${peertube_enable:=NO} | 17 | : ${peertube_enable:=NO} |
18 | 18 | ||
19 | sig_stop=HUP | ||
19 | peertube_chdir="/var/www/peertube/peertube-latest" | 20 | peertube_chdir="/var/www/peertube/peertube-latest" |
20 | peertube_env="HOME=/var/www/peertube \ | 21 | peertube_env="HOME=/var/www/peertube \ |
21 | NODE_ENV=production \ | 22 | NODE_ENV=production \ |
22 | NODE_CONFIG_DIR=/var/www/peertube/config \ | 23 | NODE_CONFIG_DIR=/var/www/peertube/config \ |
23 | USER=peertube" | 24 | USER=peertube" |
24 | peertube_user=peertube | 25 | peertube_user=peertube |
26 | procname="node:" | ||
25 | 27 | ||
26 | command="/usr/local/bin/npm" | 28 | command="/usr/local/bin/npm" |
27 | command_args="start >> /var/log/peertube/${name}.log 2>&1 &" | 29 | command_args="start >> /var/log/peertube/${name}.log 2>&1 &" |