aboutsummaryrefslogtreecommitdiffstats
path: root/security/courier-authlib/files
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-03-16 01:13:49 +0800
committeroliver <oliver@FreeBSD.org>2005-03-16 01:13:49 +0800
commitd800dfcfb8e63b71caaffdf47fe08efd51cfc5f0 (patch)
treec5ec23779058674f185b959130125215f1707551 /security/courier-authlib/files
parentd1159da3b6a592f45aa6bda446c9354fe93b1834 (diff)
downloadfreebsd-ports-gnome-d800dfcfb8e63b71caaffdf47fe08efd51cfc5f0.tar.gz
freebsd-ports-gnome-d800dfcfb8e63b71caaffdf47fe08efd51cfc5f0.tar.zst
freebsd-ports-gnome-d800dfcfb8e63b71caaffdf47fe08efd51cfc5f0.zip
- change socket and pid location from /usr/local/var/spool/authdaemon/ to /var/run/authdaemond/
- fix default user/group premissions. PR: 78866 Submitted by: Artis Caune <Artis.Caune@latnet.lv>
Diffstat (limited to 'security/courier-authlib/files')
-rw-r--r--security/courier-authlib/files/courier-authdaemond.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/courier-authlib/files/courier-authdaemond.sh b/security/courier-authlib/files/courier-authdaemond.sh
index ef48f1629b24..88c9b91fa74e 100644
--- a/security/courier-authlib/files/courier-authdaemond.sh
+++ b/security/courier-authlib/files/courier-authdaemond.sh
@@ -24,7 +24,7 @@ command="%%PREFIX%%/sbin/authdaemond"
start_cmd="authdaemond_cmd start"
stop_cmd="authdaemond_cmd stop"
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
-pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
+pidfile="/var/run/authdaemond/pid"
procname="%%PREFIX%%/sbin/courierlogger"
load_rc_config $name
@@ -41,7 +41,7 @@ authdaemond_cmd () {
if [ $? -eq 0 ] ; then
[ -f "$pidfile" ] && rm -f "$pidfile"
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
- [ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
+ [ -S /var/run/authdaemond/socket ] && rm -f /var/run/authdaemond/socket
return 0
fi
;;