diff options
-rw-r--r-- | net-mgmt/smokeping/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/smokeping/files/smokeping.in | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile index 595446a054c6..d59273de8337 100644 --- a/net-mgmt/smokeping/Makefile +++ b/net-mgmt/smokeping/Makefile @@ -1,6 +1,6 @@ PORTNAME= smokeping PORTVERSION= 2.8.2 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt www MASTER_SITES= https://oss.oetiker.ch/smokeping/pub/ diff --git a/net-mgmt/smokeping/files/smokeping.in b/net-mgmt/smokeping/files/smokeping.in index 54162f708760..d125d643e62e 100644 --- a/net-mgmt/smokeping/files/smokeping.in +++ b/net-mgmt/smokeping/files/smokeping.in @@ -29,8 +29,9 @@ reload_cmd="smokeping_reload" stop_cmd="smokeping_stop" : ${smokeping_enable:=NO} -# pidfile is hardcoded in Smokeping.pm, not configurable -smokeping_pidfile="%%PREFIX%%/var/smokeping/pid" +# piddir is configured in %%PREFIX%%/etc/smokeping/config +# pid file name is "pid" and harcoded in Smokeping.pm, not configurable +: ${smokeping_pidfile="%%PREFIX%%/var/smokeping/pid"} : ${smokeping_logfile=/var/log/smokeping.log} : ${smokeping_user="%%USERS%%"} : ${smokeping_group="%%GROUPS%%"} |