summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/minetest/files/minetestserver.initd')
-rw-r--r--games-action/minetest/files/minetestserver.initd35
1 files changed, 0 insertions, 35 deletions
diff --git a/games-action/minetest/files/minetestserver.initd b/games-action/minetest/files/minetestserver.initd
deleted file mode 100644
index ffca2e55995f..000000000000
--- a/games-action/minetest/files/minetestserver.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Minetest dedicated server"
-
-depend() {
- need net
-}
-
-start() {
- ebegin "starting server"
- start-stop-daemon \
- --start \
- --quiet \
- --make-pidfile \
- --pidfile "${PIDFILE}" \
- --background \
- --user ${USER} \
- --group ${GROUP} \
- --exec "${MINETESTBIN}" -- ${ARGS}
-
- eend $?
-}
-
-stop() {
- ebegin "stopping server"
- start-stop-daemon \
- --stop \
- --signal 15 \
- --quiet \
- --pidfile "${PIDFILE}"
-
- eend $?
-}