documentation: added build and install for alpine, with openrc service
This commit is contained in:
parent
b135c49e75
commit
c09f1fbe4e
2 changed files with 87 additions and 0 deletions
16
documentation/openrc.sh
Normal file
16
documentation/openrc.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
name="ezidam"
|
||||
command="/usr/bin/ezidam"
|
||||
command_args=
|
||||
command_background=true
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
output_log="/var/log/${RC_SVCNAME}.log"
|
||||
error_log="/var/log/${RC_SVCNAME}.err"
|
||||
|
||||
depend() {
|
||||
need net
|
||||
use logger
|
||||
}
|
||||
|
||||
export EZIDAM_CONFIG="/etc/ezidam/ezidam.toml"
|
||||
Loading…
Add table
Add a link
Reference in a new issue