logo

overlay

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

epmd.init-r1 (457B)


  1. #!/sbin/openrc-run
  2. # Copyright 1999-2019 Gentoo Authors
  3. # Distributed under the terms of the Erlang Public License 1.1
  4. pidfile="/var/run/epmd.pid"
  5. depend() {
  6. need net.lo
  7. before sshd
  8. }
  9. start() {
  10. ebegin "Starting Erlang Port Mapper Daemon"
  11. start-stop-daemon --start --quiet \
  12. --pidfile "${pidfile}" \
  13. --exec /usr/bin/epmd -- $command_args
  14. eend $?
  15. }
  16. stop() {
  17. ebegin "Stopping Erlang Port Mapper Daemon"
  18. /usr/bin/epmd -kill >/dev/null
  19. eend $?
  20. }