diff options
author | oliver <oliver@FreeBSD.org> | 2005-03-16 01:13:49 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-03-16 01:13:49 +0800 |
commit | d800dfcfb8e63b71caaffdf47fe08efd51cfc5f0 (patch) | |
tree | c5ec23779058674f185b959130125215f1707551 /security/courier-authlib/files | |
parent | d1159da3b6a592f45aa6bda446c9354fe93b1834 (diff) | |
download | freebsd-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.sh | 4 |
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 ;; |