diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-08-08 20:11:47 +0100 |
commit | f625b9919a60a30f1bd860f7d1b2eac183ced593 (patch) | |
tree | 7543f00925ff7277e31881de0a87801681f6f92f /dev-lang/erlang/files/epmd.init | |
parent | e3872864be25f7421015bef2732fa57c0c9fb726 (diff) |
gentoo resync : 08.08.2018
Diffstat (limited to 'dev-lang/erlang/files/epmd.init')
-rw-r--r-- | dev-lang/erlang/files/epmd.init | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/dev-lang/erlang/files/epmd.init b/dev-lang/erlang/files/epmd.init index 9b3b9e2ad72c..f0ef7c224165 100644 --- a/dev-lang/erlang/files/epmd.init +++ b/dev-lang/erlang/files/epmd.init @@ -1,14 +1,21 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the Erlang Public License 1.1 +ZT_ADDRESS="" +pidfile="/var/run/epmd.pid" +command_args="-daemon -relaxed_command_check -address 127.0.0.1" + depend() { - need net + need loopback + before sshd } start() { ebegin "Starting Erlang Port Mapper Daemon" - start-stop-daemon --start --quiet --user nobody --group nobody --exec /usr/bin/epmd -- -daemon + start-stop-daemon --start --quiet \ + --pidfile $pidfile \ + --exec /usr/bin/epmd -- $command_args eend $? } |