diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-10-13 22:19:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-10-14 23:22:23 +0100 |
commit | 4b19be30aa626b327c885dae62c559ec0e9fb935 (patch) | |
tree | 76e74807bc479502e13866b581b6bf86734ec634 /dev-lang/erlang/files | |
parent | 30d6f67c98d149508509d5e86f176d558793acc0 (diff) |
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-lang/erlang/files')
-rw-r--r-- | dev-lang/erlang/files/epmd.confd-r1 | 2 | ||||
-rw-r--r-- | dev-lang/erlang/files/epmd.init-r2 | 23 | ||||
-rw-r--r-- | dev-lang/erlang/files/epmd.service-r1 | 11 |
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-lang/erlang/files/epmd.confd-r1 b/dev-lang/erlang/files/epmd.confd-r1 new file mode 100644 index 000000000000..3f6006e643c8 --- /dev/null +++ b/dev-lang/erlang/files/epmd.confd-r1 @@ -0,0 +1,2 @@ +#arguments for run erlang +command_args="-relaxed_command_check -address 127.0.0.1" diff --git a/dev-lang/erlang/files/epmd.init-r2 b/dev-lang/erlang/files/epmd.init-r2 new file mode 100644 index 000000000000..52f6d72b0fe7 --- /dev/null +++ b/dev-lang/erlang/files/epmd.init-r2 @@ -0,0 +1,23 @@ +#!/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 $? +} diff --git a/dev-lang/erlang/files/epmd.service-r1 b/dev-lang/erlang/files/epmd.service-r1 new file mode 100644 index 000000000000..ca0940055305 --- /dev/null +++ b/dev-lang/erlang/files/epmd.service-r1 @@ -0,0 +1,11 @@ +[Unit] +Description=Erlang Portmapper Daemon +Wants=network.target + +[Service] +ExecStart=/usr/bin/epmd +User=epmd +Group=epmd + +[Install] +WantedBy=multi-user.target |