diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 13:52:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-16 13:52:51 +0100 |
commit | b45619404fe758cf9245826fe1ffb4d6c4e767de (patch) | |
tree | c354334aa8fec29e1f7cbf63a35a157ef8c563a3 /dev-lang/erlang/files | |
parent | c7c046a33897c533b949ee76326d620f5e07f2e9 (diff) |
gentoo auto-resync : 16:10:2022 - 13:52:51
Diffstat (limited to 'dev-lang/erlang/files')
-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 $? +} |