Better OpenRC script

This commit is contained in:
Juhani Krekelä 2018-07-16 14:02:56 +00:00
parent 22cfb7a28e
commit ceb629a90a
1 changed files with 4 additions and 3 deletions

View File

@ -1,11 +1,12 @@
#!/sbin/openrc-run
depend() {
need net
}
command=/usr/local/bin/setruid
command_args="lewdfingerd /usr/local/bin/lewdfingerd"
pidfile=/var/run/${RC_SVCNAME}.pid
# We don't create a PID file nor do we background
command_background=true
# We don't change our group but we do change our user
command_user="root:lewdfingerd"