diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2009-06-14 20:25:17 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2009-06-14 20:25:17 +0000 |
commit | 435576f64a578533c244d702189ac2735d4e9657 (patch) | |
tree | 1c611c5c799fa93ce6c2154b380899cdefcb14aa /mail | |
parent | 33886a414c2d5eec23b58b3e8818475efce15a58 (diff) | |
download | ports-435576f64a578533c244d702189ac2735d4e9657.tar.gz ports-435576f64a578533c244d702189ac2735d4e9657.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)
Notes
Notes:
svn path=/head/; revision=235819
Diffstat (limited to 'mail')
-rw-r--r-- | mail/postfix-policyd-weight/files/policyd-weight.in | 6 |
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" |