aboutsummaryrefslogtreecommitdiff
path: root/apks/invidious/invidious.initd
blob: ba29fce025b9f0bfd03ee28b3b8f7373e3184eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run

supervisor=supervise-daemon
name=invidious
command="/usr/bin/invidious"
command_user="${INVIDIOUS_USER:-invidious}"
supervise_daemon_args="--env INVIDIOUS_CONFIG_FILE='${INVIDIOUS_CONFIG_FILE:-/etc/invidious/config.yml}'"
pidfile="/run/invidious.pid"

depend() {
  need net
  after firewall
}