Add systemd units

master
blallo 2022-08-25 23:12:47 +02:00
parent ed9f9f4c5a
commit 334bdf7be6
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[Unit]
Description=Run latecomers
[Service]
ExecStart=%h/.latecomers/venv/bin/latecomers %h/.latecomers/config.yaml

View File

@ -0,0 +1,8 @@
[Unit]
Description=Run latecomers at 8AM every day
[Timer]
OnCalendar=*-*-* 08:00:00
[Install]
WantedBy=timers.target