projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a095b
)
Update FreeBSD startup script (#1474)
author
Gérald Niel
<gerald.niel@gegeweb.org>
Mon, 10 Dec 2018 09:51:28 +0000
(10:51 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 10 Dec 2018 09:51:28 +0000
(10:51 +0100)
support/freebsd/peertube
patch
|
blob
|
history
diff --git
a/support/freebsd/peertube
b/support/freebsd/peertube
index 78fdf5848ad68b17e8c42fb75fd808271f9754a2..f28660f2c109072768708a3882ff212715a04713 100755
(executable)
--- a/
support/freebsd/peertube
+++ b/
support/freebsd/peertube
@@
-16,12
+16,14
@@
load_rc_config $name
: ${peertube_enable:=NO}
+sig_stop=HUP
peertube_chdir="/var/www/peertube/peertube-latest"
peertube_env="HOME=/var/www/peertube \
NODE_ENV=production \
NODE_CONFIG_DIR=/var/www/peertube/config \
USER=peertube"
peertube_user=peertube
+procname="node:"
command="/usr/local/bin/npm"
command_args="start >> /var/log/peertube/${name}.log 2>&1 &"