committing changes in /etc after emerge run

Package changes:
+dev-lang/erlang-18.0-r1
This commit is contained in:
Hans Wurst 2015-09-20 15:38:36 +02:00
parent 289121c9bc
commit 1d20895b56
2 changed files with 21 additions and 0 deletions

1
env.d/90erlang Normal file
View File

@ -0,0 +1 @@
MANPATH="/usr/lib64/erlang/man"

20
init.d/._cfg0000_epmd Executable file
View File

@ -0,0 +1,20 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the Erlang Public License 1.1
# $Id$
depend() {
need net
}
start() {
ebegin "Starting Erlang Port Mapper Daemon"
start-stop-daemon --start --quiet --user nobody --group nobody --exec /usr/bin/epmd -- -daemon
eend $?
}
stop() {
ebegin "Stopping Erlang Port Mapper Daemon"
/usr/bin/epmd -kill >/dev/null
eend $?
}