ptrcports/nitter/nitter.initd

23 lines
363 B
Text
Raw Normal View History

2022-05-28 07:44:20 +00:00
#!/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
}