Fix PATH in cron script

tags/ipasserelle-base-0.2.65-1
Daniel Berteaud 13 years ago
parent 88f6e8cb8f
commit 21e021ac42
  1. 5
      ipasserelle-base.spec
  2. 2
      root/etc/cron.monthly/maillog-rotate

@ -1,5 +1,5 @@
%define version 0.2.0 %define version 0.2.0
%define release 1.beta1 %define release 1.beta2
%define name ipasserelle-base %define name ipasserelle-base
@ -45,8 +45,9 @@ Based on SMEServer, iPasserelle is a specially configured
SME Server, with some additionnal modules SME Server, with some additionnal modules
%changelog %changelog
* Sun Mar 11 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme * Tue Apr 03 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
- Switch to git - Switch to git
- Fix PATH in cron script
* Sun Mar 04 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-24.sme * Sun Mar 04 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1-24.sme
- Fix cron scripts permissions - Fix cron scripts permissions

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
PATH=/sbin/e-smith:/sbin:/bin:/usr/sbin:/usr/bin
BCC=$(db configuration getprop qpsmtpd Bcc || echo 'disabled') BCC=$(db configuration getprop qpsmtpd Bcc || echo 'disabled')
ARCHIVE=$(db configuration getprop qpsmtpd ArchiveBcc || echo 'disabled') ARCHIVE=$(db configuration getprop qpsmtpd ArchiveBcc || echo 'disabled')

Loading…
Cancel
Save