View | Details | Raw Unified | Return to bug 255981 | Differences between
and this patch

Collapse All | Expand All

(-)b/sysutils/zrepl/Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
PORTNAME=      zrepl
3
PORTNAME=      zrepl
4
DISTVERSIONPREFIX=     v
4
DISTVERSIONPREFIX=     v
5
DISTVERSION=   0.4.0
5
DISTVERSION=   0.4.0
6
PORTREVISION=  1
6
PORTREVISION=  2
7
CATEGORIES=    sysutils
7
CATEGORIES=    sysutils
8
8
9
MAINTAINER=    lcook@FreeBSD.org
9
MAINTAINER=    lcook@FreeBSD.org
(-)b/sysutils/zrepl/files/zrepl.in (-3 / +3 lines)
Lines 40-46 load_rc_config $name Link Here
40
: ${zrepl_priority:="alert"}
40
: ${zrepl_priority:="alert"}
41
: ${zrepl_options:="${zrepl_flags} --config ${zrepl_config}"}
41
: ${zrepl_options:="${zrepl_flags} --config ${zrepl_config}"}
42
42
43
pidfile="/var/run/zrepl/daemon.pid"
43
pidfile="/var/run/zrepl.pid"
44
command="/usr/sbin/daemon"
44
command="/usr/sbin/daemon"
45
procname="%%PREFIX%%/bin/zrepl"
45
procname="%%PREFIX%%/bin/zrepl"
46
command_args="-p ${pidfile} %%DAEMON_LOGGING%% ${procname} ${zrepl_options} daemon"
46
command_args="-p ${pidfile} %%DAEMON_LOGGING%% ${procname} ${zrepl_options} daemon"
Lines 54-61 extra_commands="configtest" Link Here
54
zrepl_precmd()
54
zrepl_precmd()
55
{
55
{
56
       if [ ! -d "/var/run/zrepl/stdinserver" ]; then
56
       if [ ! -d "/var/run/zrepl/stdinserver" ]; then
57
               install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl";
57
               install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl";
58
               install -d -g ${zrepl_group} -o ${zrepl_user} -m 0755 -- "/var/run/zrepl/stdinserver";
58
               install -d -g ${zrepl_group} -o ${zrepl_user} -m 0700 -- "/var/run/zrepl/stdinserver";
59
       fi
59
       fi
60
60
61
       if [ ! -e "${pidfile}" ]; then
61
       if [ ! -e "${pidfile}" ]; then

Return to bug 255981