|
@ -61,8 +61,10 @@ docker pull docker.0k.io/letsencrypt |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
Wrap -d "Updating cron scripts" <<EOF || exit 1 |
|
|
Wrap -d "Updating cron scripts" <<EOF || exit 1 |
|
|
ln -sfn /opt/apps/myc-manage/etc/cron.d/* /etc/cron.d/ |
|
|
|
|
|
find -L /etc/cron.d -maxdepth 1 -type l -ilname /opt/apps/myc-manage/etc/cron.d/\* -delete |
|
|
|
|
|
|
|
|
for d in /etc/cron.{d,daily,hourly,monthly,weekly}; do |
|
|
|
|
|
ln -sfn "/opt/apps/myc-manage\$d/"* "\$d/" && |
|
|
|
|
|
find -L "\$d" -maxdepth 1 -type l -ilname "/opt/apps/myc-manage\$d/"\* -delete |
|
|
|
|
|
done |
|
|
EOF |
|
|
EOF |
|
|
|
|
|
|
|
|
Wrap -d "Updating sysctl scripts" <<EOF || exit 1 |
|
|
Wrap -d "Updating sysctl scripts" <<EOF || exit 1 |
|
|