blob: 4f85815b9cc986b85a63300b24f56c562a335122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
# 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 $?
}
|