This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
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
}