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