diff options
Diffstat (limited to 'mkosi.extra')
-rw-r--r-- | mkosi.extra/etc/systemd/system/kanboard.service | 8 | ||||
-rw-r--r-- | mkosi.extra/etc/systemd/system/kanboard.timer | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/system/kanboard.service b/mkosi.extra/etc/systemd/system/kanboard.service new file mode 100644 index 0000000..33e528c --- /dev/null +++ b/mkosi.extra/etc/systemd/system/kanboard.service @@ -0,0 +1,8 @@ +[Unit] +Description=Run kanboard's cron job + +[Service] +Type=oneshot +User=www-data +WorkingDirectory=/var/www/kanboard +ExecStart=/var/www/kanboard/cli cronjob diff --git a/mkosi.extra/etc/systemd/system/kanboard.timer b/mkosi.extra/etc/systemd/system/kanboard.timer new file mode 100644 index 0000000..852e800 --- /dev/null +++ b/mkosi.extra/etc/systemd/system/kanboard.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Daily execution of kanboard's cronjob + +[Timer] +OnCalendar=daily +RandomizedDelaySec=6h +Persistent=true + +[Install] +WantedBy=timers.target |