diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
commit | 88108880bbdba473cfe36ecbebc1c3c4f972e102 (patch) | |
tree | b242efb3b4f0d7e49d88f2d1f2063b5b3b0489c0 /support/freebsd/peertube | |
parent | 53a94c7cfa8368da4cd248d65df8346905938f0c (diff) | |
parent | 9b712a2017e4ab3cf12cd6bd58278905520159d0 (diff) | |
download | PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.gz PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.zst PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.zip |
Merge branch 'develop' into pr/1217
Diffstat (limited to 'support/freebsd/peertube')
-rwxr-xr-x | support/freebsd/peertube | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/support/freebsd/peertube b/support/freebsd/peertube index 78fdf5848..5d14c58ae 100755 --- a/support/freebsd/peertube +++ b/support/freebsd/peertube | |||
@@ -16,6 +16,7 @@ load_rc_config $name | |||
16 | 16 | ||
17 | : ${peertube_enable:=NO} | 17 | : ${peertube_enable:=NO} |
18 | 18 | ||
19 | sig_stop=-KILL | ||
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 \ |
@@ -23,7 +24,7 @@ NODE_CONFIG_DIR=/var/www/peertube/config \ | |||
23 | USER=peertube" | 24 | USER=peertube" |
24 | peertube_user=peertube | 25 | peertube_user=peertube |
25 | 26 | ||
26 | command="/usr/local/bin/npm" | 27 | command="/usr/local/bin/node" |
27 | command_args="start >> /var/log/peertube/${name}.log 2>&1 &" | 28 | command_args="dist/server >> /var/log/peertube/${name}.log 2>&1 &" |
28 | 29 | ||
29 | run_rc_command "$1" | 30 | run_rc_command "$1" |