ptrcports/nitter/nitter.initd
2022-05-28 09:44:20 +02:00

22 lines
363 B
Text

#!/sbin/openrc-run
depend() {
use net
after firewall
need redis
}
supervisor=supervise-daemon
name=nitter
description="nitter"
command=/usr/bin/nitter
directory=/var/lib/nitter
command_background=true
output_log=/var/log/nitter.log
error_log=/var/log/nitter.log
command_user=nitter:nitter
start_pre() {
checkpath -f -o $command_user /var/log/nitter.log
}