Files
mars-nwe/doc/gentoo/mars-nwe.initd
Mario Fetka ec91095e49
All checks were successful
Source release / source-package (push) Successful in 37s
add init scrips to doc dir
2026-04-21 21:13:53 +02:00

26 lines
572 B
Plaintext

#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
depend() {
need net ipx
}
mkdir_marsnwedirs() {
[ -d /run/mars_nwe ] || mkdir -p /run/mars_nwe
}
start() {
ebegin "Starting Martin Stovers NetWare-Emulator"
mkdir_marsnwedirs
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 $?
}