documentation: added build and install for alpine, with openrc service

This commit is contained in:
Philippe Loctaux 2023-06-29 20:40:53 +02:00
parent b135c49e75
commit c09f1fbe4e
2 changed files with 87 additions and 0 deletions

16
documentation/openrc.sh Normal file
View 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"