www-apps/misskey: add logging to init script

Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
tastytea 2023-01-24 11:49:43 +01:00
parent 2b281e18d6
commit e7a78e4bf8
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ description="Misskey daemon"
command="/usr/bin/npm"
command_args="start"
command_user="misskey"
logdir="/var/log/${name}"
output_log="${logdir}/${name}.log"
error_log="${logdir}/error.log"
supervisor="supervise-daemon"
supervise_daemon_args=" -d /opt/misskey/misskey -e NODE_ENV=\"production\""