mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Fix shebangs
This commit is contained in:
parent
59ba34cb4b
commit
7765d4a6b3
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
##
|
##
|
||||||
# This user patches script runs right before starting the daemons. That means, all the other configuration is in place, so the script can make final adjustments.
|
# This user patches script runs right before starting the daemons. That means, all the other configuration is in place, so the script can make final adjustments.
|
||||||
# If you modify any supervisord configuration, make sure to run "supervisorctl update" afterwards.
|
# If you modify any supervisord configuration, make sure to run "supervisorctl update" afterwards.
|
||||||
|
|
|
@ -1759,7 +1759,7 @@ function _setup_mail_summary
|
||||||
"daily_cron" )
|
"daily_cron" )
|
||||||
_notify 'inf' "Creating daily cron job for pflogsumm report"
|
_notify 'inf' "Creating daily cron job for pflogsumm report"
|
||||||
|
|
||||||
echo "#!/bin/bash" > /etc/cron.daily/postfix-summary
|
echo "#! /bin/bash" > /etc/cron.daily/postfix-summary
|
||||||
echo "/usr/local/bin/report-pflogsumm-yesterday ${HOSTNAME} ${PFLOGSUMM_RECIPIENT} ${PFLOGSUMM_SENDER}" >> /etc/cron.daily/postfix-summary
|
echo "/usr/local/bin/report-pflogsumm-yesterday ${HOSTNAME} ${PFLOGSUMM_RECIPIENT} ${PFLOGSUMM_SENDER}" >> /etc/cron.daily/postfix-summary
|
||||||
|
|
||||||
chmod +x /etc/cron.daily/postfix-summary
|
chmod +x /etc/cron.daily/postfix-summary
|
||||||
|
@ -1782,14 +1782,14 @@ function _setup_logwatch
|
||||||
case "${LOGWATCH_INTERVAL}" in
|
case "${LOGWATCH_INTERVAL}" in
|
||||||
"daily" )
|
"daily" )
|
||||||
_notify 'inf' "Creating daily cron job for logwatch reports"
|
_notify 'inf' "Creating daily cron job for logwatch reports"
|
||||||
echo "#!/bin/bash" > /etc/cron.daily/logwatch
|
echo "#! /bin/bash" > /etc/cron.daily/logwatch
|
||||||
echo "/usr/sbin/logwatch --range Yesterday --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT}" \
|
echo "/usr/sbin/logwatch --range Yesterday --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT}" \
|
||||||
>> /etc/cron.daily/logwatch
|
>> /etc/cron.daily/logwatch
|
||||||
chmod 744 /etc/cron.daily/logwatch
|
chmod 744 /etc/cron.daily/logwatch
|
||||||
;;
|
;;
|
||||||
"weekly" )
|
"weekly" )
|
||||||
_notify 'inf' "Creating weekly cron job for logwatch reports"
|
_notify 'inf' "Creating weekly cron job for logwatch reports"
|
||||||
echo "#!/bin/bash" > /etc/cron.weekly/logwatch
|
echo "#! /bin/bash" > /etc/cron.weekly/logwatch
|
||||||
echo "/usr/sbin/logwatch --range 'between -7 days and -1 days' --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT}" \
|
echo "/usr/sbin/logwatch --range 'between -7 days and -1 days' --hostname ${HOSTNAME} --mailto ${LOGWATCH_RECIPIENT}" \
|
||||||
>> /etc/cron.weekly/logwatch
|
>> /etc/cron.weekly/logwatch
|
||||||
chmod 744 /etc/cron.weekly/logwatch
|
chmod 744 /etc/cron.weekly/logwatch
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
cat - > /tmp/pipe-test.out
|
cat - > /tmp/pipe-test.out
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#! /bin/bash
|
||||||
##
|
##
|
||||||
# This user script will be executed between configuration and starting daemons
|
# This user script will be executed between configuration and starting daemons
|
||||||
# To enable it you must save it in your config directory as "user-patches.sh"
|
# To enable it you must save it in your config directory as "user-patches.sh"
|
||||||
|
|
Loading…
Reference in a new issue