|
|
|
@ -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" |
|
|
|
|