File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ max_line_length=off
1919indent_size = 2
2020trim_trailing_whitespace = false
2121
22+ [* .sh ]
23+ indent_size = 2
24+
2225[.gitmodules ]
2326indent_style = tab
2427
@@ -27,6 +30,3 @@ indent_style = tab
2730
2831[{Makefile,* .mk} ]
2932indent_style = tab
30-
31- [* .sh ]
32- indent_style = tab
Original file line number Diff line number Diff line change @@ -69,23 +69,23 @@ logrotate_cron_timetable="/usr/sbin/logrotate ${logrotate_parameters} --state=${
6969if [ " $1 " = ' cron' ]; then
7070 if [ ${logrotate_autoupdate} = " true" ]; then
7171 mkdir -p /etc/ofelia
72- cat << EOF > /etc/ofelia/schedule-autoupdate.ini
72+ cat << EOF > /etc/ofelia/schedule-autoupdate.ini
7373[job-local "logrotate-with-autoupdate"]
7474schedule = ${logrotate_croninterval}
7575command = /bin/bash -c \"/usr/bin/logrotate.d/update-logrotate.sh && ${logrotate_cron_timetable} \"
7676EOF
7777
78- exec ofelia daemon --config /etc/ofelia/schedule-autoupdate.ini
78+ exec ofelia daemon --config /etc/ofelia/schedule-autoupdate.ini
7979 exit
8080 fi
81- mkdir -p /etc/ofelia
82- cat << EOF > /etc/ofelia/schedule-standard.ini
81+ mkdir -p /etc/ofelia
82+ cat << EOF > /etc/ofelia/schedule-standard.ini
8383[job-local "logrotate"]
8484schedule = ${logrotate_croninterval}
8585command = /bin/bash -c \"${logrotate_cron_timetable} \"
8686EOF
8787
88- exec ofelia daemon --config /etc/ofelia/schedule-standard.ini
88+ exec ofelia daemon --config /etc/ofelia/schedule-standard.ini
8989fi
9090
9191exec " $@ "
You can’t perform that action at this time.
0 commit comments