openbsd-ports/games/wesnoth/pkg/wesnothd.rc
pascal 9efcdb7f33 Make standalone wesnothd more useful:
- Add _wesnothd user to run wesnothd as
- Create socket in /var/wesnothd
- Add rc script

ok kirby@ (MAINTAINER) jasper@
2012-11-20 15:08:00 +00:00

12 lines
186 B
Bash

#!/bin/sh
#
# $OpenBSD: wesnothd.rc,v 1.1 2012/11/20 15:08:00 pascal Exp $
daemon="${TRUEPREFIX}/bin/wesnothd"
daemon_flags="-d"
daemon_user="_wesnothd"
. /etc/rc.d/rc.subr
rc_cmd $1