kosync 283 B

1234567891011121314151617
  1. #!/sbin/openrc-run
  2. supervisor=supervise-daemon
  3. name=kosync
  4. command="${name}"
  5. directory="/var/lib/kosync/"
  6. command_args="-p 7070"
  7. pidfile="/run/$name.pid"
  8. command_user="www:www"
  9. output_log="/var/log/kosync.log"
  10. error_log="/var/log/kosync.err"
  11. depend() {
  12. need net
  13. after firewall
  14. }