summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-19 00:51:27 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-19 01:06:06 +0200
commitd46cda64f4ab29c1c953810cd9de1c520de3ebd0 (patch)
tree90d76dea006442b8058c6ef410dc0e349ff5e05c /games-simulation/openttd/files
parentapp-portage/mirrorselect: Version bump, update 9999 to git-r3 (diff)
downloadgentoo-d46cda64f4ab29c1c953810cd9de1c520de3ebd0.tar.gz
gentoo-d46cda64f4ab29c1c953810cd9de1c520de3ebd0.tar.bz2
gentoo-d46cda64f4ab29c1c953810cd9de1c520de3ebd0.zip
games-simulation/openttd: Fixed init script (bug #625472).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'games-simulation/openttd/files')
-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 00000000000..0bfeefddf6d
--- /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
+}