overlay/www-apps/misskey/files/misskey.initd
tastytea f6e3ac8dba
www-apps/misskey: New package
Experimental, but works.

Signed-off-by: tastytea <tastytea@tastytea.de>
2022-05-14 17:44:13 +02:00

19 lines
307 B
Plaintext

#!/sbin/openrc-run
name=misskey
description="Misskey daemon"
command="/usr/bin/npm"
command_args="start"
command_user="misskey"
supervisor="supervise-daemon"
supervise_daemon_args=" -d /opt/misskey/misskey -e NODE_ENV=\"production\""
pidfile="/run/${RC_SVCNAME}.pid"
depend() {
need net
use logger
}