Add an example openrc service script
This commit is contained in:
parent
70c3403c6f
commit
22cfb7a28e
|
@ -0,0 +1,11 @@
|
||||||
|
#!/sbin/openrc-run
|
||||||
|
|
||||||
|
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"
|
Loading…
Reference in New Issue