diff options
Diffstat (limited to 'satellit_upgrader/updater.template.sh')
-rw-r--r-- | satellit_upgrader/updater.template.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh index abd132a..aa7bf1b 100644 --- a/satellit_upgrader/updater.template.sh +++ b/satellit_upgrader/updater.template.sh @@ -523,8 +523,11 @@ if [ -n "$TGZ_SLXADMIN" ]; then # New scripts supplied diffcp "slxadmin" "/opt/openslx/slxadmin-cronscript" diffcp "slxadmin" "/opt/openslx/slxadmin-bootscript" - # New crontab supplied - diffcp "slxadmin" "/etc/cron.d/slx-admin" + # New crontab supplied - now as systemd timer + rm -f -- "/etc/cron.d/slx-admin" + diffcp "slxadmin" "/etc/systemd/system/slx-cron.service" + diffcp "slxadmin" "/etc/systemd/system/slx-cron.timer" + diffcp "slxadmin" "/etc/systemd/system/timers.target.wants/slx-cron.timer" # Service diffcp "slxadmin" "/etc/systemd/system/slxadmin-boot.service" ln -nfs "../slxadmin-boot.service" "/etc/systemd/system/multi-user.target.wants/slxadmin-boot.service" |