Add an example openrc service script

This commit is contained in:
Juhani Krekelä 2018-07-11 18:08:46 +00:00
parent 70c3403c6f
commit 22cfb7a28e
1 changed files with 11 additions and 0 deletions

11
lewdfingerd.openrc-example Executable file
View File

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