Add systemd units
This commit is contained in:
parent
ed9f9f4c5a
commit
334bdf7be6
5
contrib/systemd/latecomers.service
Normal file
5
contrib/systemd/latecomers.service
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run latecomers
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=%h/.latecomers/venv/bin/latecomers %h/.latecomers/config.yaml
|
8
contrib/systemd/latecomers.timer
Normal file
8
contrib/systemd/latecomers.timer
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run latecomers at 8AM every day
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=*-*-* 08:00:00
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user