From: GĂ©rald Niel Date: Mon, 10 Dec 2018 09:51:28 +0000 (+0100) Subject: Update FreeBSD startup script (#1474) X-Git-Tag: v1.2.0-rc.1~83 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2cf9a4626fa30cbdcbf51f0c4e44a51ba15d759f;p=oweals%2Fpeertube.git Update FreeBSD startup script (#1474) --- 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 : ${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 &"