15 lines
238 B
Bash
Executable File
15 lines
238 B
Bash
Executable File
#!/sbin/openrc-run
|
|
|
|
log_file="/opt/dyfi/log"
|
|
|
|
command="/opt/dyfi/run.sh"
|
|
command_args="--log ${log_file} --auth /opt/dyfi/auth"
|
|
command_background=true
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
|
|
extra_commands="log"
|
|
|
|
log() {
|
|
cat "$log_file"
|
|
}
|