/var/run/ddclient, created by the rc script. /etc/ddclient/ddclient.conf is now mode 640, root:_ddclient. Delete the mode 600 check in the script accordingly. comments from sthen@/ajacoutot@, ok dcoppa@ jung@ ajacoutot@
17 lines
262 B
Bash
17 lines
262 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: ddclient.rc,v 1.4 2015/03/22 08:30:20 pascal Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/ddclient"
|
|
daemon_user="_ddclient"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="perl: ddclient"
|
|
|
|
rc_pre() {
|
|
install -d -o _ddclient -g _ddclient /var/run/ddclient
|
|
}
|
|
|
|
rc_cmd $1
|