add systemd files

master
Hofei90 5 years ago
parent af131b89c3
commit 0cc668ad9f

@ -0,0 +1,10 @@
[Unit]
Description=Call of Duty Statistiken lesen
[Service]
Type=simple
ExecStart=/home/pi/cod_stats_tracker/venv/bin/python3 /home/pi/cod_stats_tracker/get_cod_stats.py
User=pi
[Install]
WantedBy=multi-user.target

@ -0,0 +1,9 @@
[Unit]
Description=Timer zum Aufruf der Call of Duty Statistiken lesen
[Timer]
OnCalendar=*-*-* 00,08,16,20:00:00
Unit=cod_stats.service
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save