dyfi-openrc.sh 238 B

1234567891011121314
  1. #!/sbin/openrc-run
  2. log_file="/opt/dyfi/log"
  3. command="/opt/dyfi/run.sh"
  4. command_args="--log ${log_file} --auth /opt/dyfi/auth"
  5. command_background=true
  6. pidfile="/run/${RC_SVCNAME}.pid"
  7. extra_commands="log"
  8. log() {
  9. cat "$log_file"
  10. }