summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server/monopd/files/monopd.in')
-rw-r--r--games-server/monopd/files/monopd.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/games-server/monopd/files/monopd.in b/games-server/monopd/files/monopd.in
new file mode 100644
index 00000000000..640ab25eb21
--- /dev/null
+++ b/games-server/monopd/files/monopd.in
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting monopd server"
+ start-stop-daemon --start -q -b --exec GENTOO_DIR/monopd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping monopd server"
+ start-stop-daemon --stop -q --exec GENTOO_DIR/monopd
+ eend $?
+}