openbsd-ports/net/cvsync/pkg/cvsyncd.rc
phessler 3cee774a9e add a _cvsyncd user for cvsyncd daemon, and an rc.d start script.
while here, do a minor clean up of the sample config files

missing user noticed by henning@
OK naddy@
2012-04-10 19:52:44 +00:00

15 lines
222 B
Bash

#!/bin/sh
#
# $OpenBSD: cvsyncd.rc,v 1.1 2012/04/10 19:52:44 phessler Exp $
daemon="${TRUEPREFIX}/bin/cvsyncd"
daemon_user="_cvsyncd"
. /etc/rc.d/rc.subr
rc_pre() {
install -o _cvsyncd -d /var/run/cvsyncd
}
rc_cmd $1