linamh/net-fs/mars-nwe/files/mars-nwe.initd
Mario Fetka 6087b6a67c Change Pid dir and add system d support
Package-Manager: portage-2.2.7
RepoMan-Options: --force
2014-01-18 09:25:06 +01:00

21 lines
479 B
Plaintext

#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net ipx
}
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
eval start-stop-daemon --start --quiet --exec /usr/sbin/nwserv --pidfile /run/mars_nwe/nwserv.pid
eend $?
}
stop() {
ebegin "Stopping Martin Stovers NetWare-Emulator"
start-stop-daemon --stop --quiet --pidfile /run/mars_nwe/nwserv.pid
eend $?
}