diff options
Diffstat (limited to 'satellit_installer/static_files/slxadmin/etc/systemd')
3 files changed, 18 insertions, 0 deletions
diff --git a/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.service b/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.service new file mode 100644 index 0000000..3a29971 --- /dev/null +++ b/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.service @@ -0,0 +1,7 @@ +[Unit] +Description=SLX-Admin cron script +RefuseManualStart=yes + +[Service] +Type=oneshot +ExecStart=/opt/openslx/slxadmin-cronscript diff --git a/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.timer b/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.timer new file mode 100644 index 0000000..680c28e --- /dev/null +++ b/satellit_installer/static_files/slxadmin/etc/systemd/system/slx-cron.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Trigger SLX-Admin Cron-Script + +[Timer] +OnCalendar=*:0/5 +AccuracySec=5 +RandomizedDelaySec=0 + +[Install] +WantedBy=timers.target diff --git a/satellit_installer/static_files/slxadmin/etc/systemd/system/timers.target.wants/slx-cron.timer b/satellit_installer/static_files/slxadmin/etc/systemd/system/timers.target.wants/slx-cron.timer new file mode 120000 index 0000000..9590a5c --- /dev/null +++ b/satellit_installer/static_files/slxadmin/etc/systemd/system/timers.target.wants/slx-cron.timer @@ -0,0 +1 @@ +../slx-cron.timer
\ No newline at end of file |