summaryrefslogtreecommitdiff
path: root/games-simulation/openttd/files/openttd.initd-r1
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/openttd/files/openttd.initd-r1')
-rw-r--r--games-simulation/openttd/files/openttd.initd-r113
1 files changed, 13 insertions, 0 deletions
diff --git a/games-simulation/openttd/files/openttd.initd-r1 b/games-simulation/openttd/files/openttd.initd-r1
new file mode 100644
index 000000000000..0bfeefddf6d6
--- /dev/null
+++ b/games-simulation/openttd/files/openttd.initd-r1
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+description="OpenTTD dedicated game server"
+pidfile="/run/${SVCNAME}.pid"
+command="/usr/bin/openttd"
+command_args="-D"
+command_background="true"
+
+depend() {
+ need net
+}