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.
gentoo-overlay/dev-lang/erlang/files/epmd.init-r2

24 lines
388 B

#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the Erlang Public License 1.1
name="Erlang Port Mapper Daemon"
command="/usr/bin/epmd"
command_user="epmd"
command_group="epmd"
command_background=yes
pidfile="/var/run/epmd.pid"
depend() {
need net.lo
before sshd
}
stop() {
ebegin "Stopping ${name}"
${command} -kill >/dev/null
eend $?
}