add fluxengine

This commit is contained in:
Mario Fetka
2023-07-10 19:43:00 +02:00
parent 9079259fcc
commit 29aac420c4
17 changed files with 355 additions and 92 deletions

View File

@@ -1,4 +1,4 @@
#!/sbin/runscript
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -8,18 +8,18 @@ depend() {
}
mkdir_marsnwedirs() {
[ -d /var/run/mars_nwe ] || mkdir -p /var/run/mars_nwe
[ -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 /var/run/mars_nwe/nwserv.pid
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 /var/run/mars_nwe/nwserv.pid
start-stop-daemon --stop --quiet --pidfile /run/mars_nwe/nwserv.pid
eend $?
}