aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2009-06-15 04:25:17 +0800
committerwxs <wxs@FreeBSD.org>2009-06-15 04:25:17 +0800
commitf64de15e56c9d8c743eb4a4dbb443f7afc721637 (patch)
treee241dfc1f12d3083462622d68841e0e7dd446f9d
parent4129ab2b3c4b392897f8db373e1532963c7d348e (diff)
downloadfreebsd-ports-gnome-f64de15e56c9d8c743eb4a4dbb443f7afc721637.tar.gz
freebsd-ports-gnome-f64de15e56c9d8c743eb4a4dbb443f7afc721637.tar.zst
freebsd-ports-gnome-f64de15e56c9d8c743eb4a4dbb443f7afc721637.zip
- Don't hardcore prefix in RC script.
PR: ports/135504 Submitted by: Martin Tournoij <carpetsmoker@rwxrwxrwx.net> Approved by: Robert Felber <robtone@ek-muc.de> (maintainer)
-rw-r--r--mail/postfix-policyd-weight/files/policyd-weight.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/postfix-policyd-weight/files/policyd-weight.in b/mail/postfix-policyd-weight/files/policyd-weight.in
index 396e04dd669f..78fd9a5bef56 100644
--- a/mail/postfix-policyd-weight/files/policyd-weight.in
+++ b/mail/postfix-policyd-weight/files/policyd-weight.in
@@ -29,16 +29,16 @@ case "$policyd_weight_enable" in
*) echo "To make use of $name set $rcvar=\"YES\" in /etc/rc.conf" ;;
esac
-command="/usr/local/bin/policyd-weight"
+command="%%PREFIX%%/bin/policyd-weight"
pidfile=/var/run/policyd-weight.pid
policyd_weight_start() {
- /usr/local/bin/policyd-weight start
+ %%PREFIX%%/bin/policyd-weight start
}
policyd_weight_stop() {
echo "Stopping $name"
- /usr/local/bin/policyd-weight -k stop
+ %%PREFIX%%/bin/policyd-weight -k stop
}
run_rc_command "$1"