diff options
| author | Matthew Smith <matthew@gentoo.org> | 2022-10-16 11:10:08 +0100 |
|---|---|---|
| committer | Matthew Smith <matthew@gentoo.org> | 2022-10-16 11:22:39 +0100 |
| commit | f18392f54074d8c81a69f29c0337baf9af3e55a5 (patch) | |
| tree | 219f4271af284338ef19a72589cde0f2d6c5005a /dev-lang/erlang/files/epmd.init-r3 | |
| parent | ac6d561cbe02cb1be08b14c693c62dcf78b21a99 (diff) | |
| download | gentoo-f18392f54074d8c81a69f29c0337baf9af3e55a5.tar.gz gentoo-f18392f54074d8c81a69f29c0337baf9af3e55a5.tar.bz2 gentoo-f18392f54074d8c81a69f29c0337baf9af3e55a5.zip | |
dev-lang/erlang: add 25.1.1
Also, fix localhost clash.
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/26360
Diffstat (limited to 'dev-lang/erlang/files/epmd.init-r3')
| -rw-r--r-- | dev-lang/erlang/files/epmd.init-r3 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/epmd.init-r3 b/dev-lang/erlang/files/epmd.init-r3 new file mode 100644 index 000000000000..7748a94c2ac7 --- /dev/null +++ b/dev-lang/erlang/files/epmd.init-r3 @@ -0,0 +1,23 @@ +#!/sbin/openrc-run +# Copyright 1999-2022 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() { + use net + before sshd +} + +stop() { + ebegin "Stopping ${name}" + ${command} -kill >/dev/null + eend $? +} |
