summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader/updater.template.sh
diff options
context:
space:
mode:
authorSimon Rettberg2024-10-02 11:09:34 +0200
committerSimon Rettberg2024-10-02 11:09:34 +0200
commit25a070108da8a455ee97d353ef42d8fb056c0292 (patch)
tree9483c731d82437b260410d840d9150294b43a223 /satellit_upgrader/updater.template.sh
parent[SS?S] slx-cert: More sanity checks, add a few comments (diff)
downloadsetup-scripts-25a070108da8a455ee97d353ef42d8fb056c0292.tar.gz
setup-scripts-25a070108da8a455ee97d353ef42d8fb056c0292.tar.xz
setup-scripts-25a070108da8a455ee97d353ef42d8fb056c0292.zip
[SS?S] Make slx-cert cronjob a systemd timer so we keep logs
Diffstat (limited to 'satellit_upgrader/updater.template.sh')
-rw-r--r--satellit_upgrader/updater.template.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index 3a0f3d2..abd132a 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -621,6 +621,9 @@ diffcp "lighttpd" "/etc/lighttpd/lighttpd.conf" && restart["lighttpd.service"]=j
diffcp "lighttpd" "/usr/share/lighttpd/auto-ssl.sh" && restart["lighttpd.service"]=ja
diffcp "lighttpd" "/opt/openslx/slx-cert" && restart["lighttpd.service"]=ja
diffcp "lighttpd" "/usr/share/lighttpd/include-conf-d.sh" && restart["lighttpd.service"]=ja
+diffcp "lighttpd" "/etc/systemd/system/slx-cert.service"
+diffcp "lighttpd" "/etc/systemd/system/slx-cert.timer"
+diffcp "lighttpd" "/etc/systemd/system/timers.target.wants/slx-cert.timer"
# ********************** lighttpd php_children *************
mkdir -p /usr/local/sbin