www-apps/misskey: add logging to init script
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
2b281e18d6
commit
e7a78e4bf8
|
@ -6,6 +6,9 @@ description="Misskey daemon"
|
||||||
command="/usr/bin/npm"
|
command="/usr/bin/npm"
|
||||||
command_args="start"
|
command_args="start"
|
||||||
command_user="misskey"
|
command_user="misskey"
|
||||||
|
logdir="/var/log/${name}"
|
||||||
|
output_log="${logdir}/${name}.log"
|
||||||
|
error_log="${logdir}/error.log"
|
||||||
|
|
||||||
supervisor="supervise-daemon"
|
supervisor="supervise-daemon"
|
||||||
supervise_daemon_args=" -d /opt/misskey/misskey -e NODE_ENV=\"production\""
|
supervise_daemon_args=" -d /opt/misskey/misskey -e NODE_ENV=\"production\""
|
||||||
|
|
Reference in New Issue
Block a user