logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

epmd.init-r2 (390B)


  1. #!/sbin/openrc-run
  2. # Copyright 1999-2019 Gentoo Authors
  3. # Distributed under the terms of the Erlang Public License 1.1
  4. name="Erlang Port Mapper Daemon"
  5. command="/usr/bin/epmd"
  6. command_user="epmd"
  7. command_group="epmd"
  8. command_background=yes
  9. pidfile="/var/run/epmd.pid"
  10. depend() {
  11. need loopback
  12. before sshd
  13. }
  14. stop() {
  15. ebegin "Stopping ${name}"
  16. ${command} -kill >/dev/null
  17. eend $?
  18. }