You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ergo.initd 382B

12345678910111213141516171819
  1. #!/sbin/openrc-run
  2. command=/usr/bin/ergo
  3. command_args="run --conf ${ERGO_CONFIGFILE:-"/etc/ergo/ircd.yaml"}"
  4. command_background=true
  5. extra_started_commands="reload"
  6. pidfile=/var/run/ergo.pid
  7. name="ergo"
  8. description="ergo IRC daemon"
  9. depend() {
  10. use dns
  11. provide ircd
  12. }
  13. reload() {
  14. ebegin "Reloading ${RC_SVCNAME}"
  15. start-stop-daemon --signal HUP --pidfile "${pidfile}"
  16. eend $?
  17. }