summaryrefslogtreecommitdiff
path: root/games-simulation/openttd/files/openttd.initd-r1
blob: 0bfeefddf6d63bdfa46b9cd432baa96d12477a3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}