diff options
Diffstat (limited to 'main/minetest/minetest.initd')
-rw-r--r-- | main/minetest/minetest.initd | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/main/minetest/minetest.initd b/main/minetest/minetest.initd deleted file mode 100644 index cf47b81a54..0000000000 --- a/main/minetest/minetest.initd +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript - -description="Minetest server" - -depend() { - need net -} - -start() { - ebegin "Starting $SVCNAME" - start-stop-daemon \ - --start \ - --user $USER \ - --group $GROUP \ - --make-pidfile \ - --pidfile $PID \ - --background \ - --quiet \ - --exec $EXEC -- "--config $CONFIG --logfile $LOG $ARGS" - eend $? -} - -stop() { - ebegin "Stopping $SVCNAME" - start-stop-daemon \ - --stop \ - --quiet \ - --pidfile $PID - eend $? -} - -reload() { - ebegin "Reloading $SVCNAME" - start-stop-daemon --signal HUP \ - --exec "$EXEC" --pidfile "$PID" - eend $? -} |