mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 15:32:25 +01:00
19 lines
375 B
Plaintext
19 lines
375 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
: ${cfgfile:="/etc/rezolus.toml"}
|
|
: ${logfile:="/var/log/rezolus.log"}
|
|
: ${command_user:="rezolus"}
|
|
|
|
command="/usr/bin/rezolus"
|
|
command_args="--config $cfgfile"
|
|
command_background="yes"
|
|
pidfile="/run/$RC_SVCNAME.pid"
|
|
output_log="$logfile"
|
|
error_log="$logfile"
|
|
|
|
required_files="$cfgfile"
|
|
|
|
start_pre() {
|
|
checkpath -f -m 640 -o "$command_user" "$logfile"
|
|
}
|