Initial Commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Pfad zum speichern: /etc/systemd/system/feinstaub.service
|
||||
[Unit]
|
||||
Description=ServiceUnit zum starten des Feinstaub Skriptes
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /home/pi/weewx_to_grafanaserver/feinstaub.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,10 @@
|
||||
# Pfad zum speichern: /etc/systemd/system/feinstaub.timer
|
||||
[Unit]
|
||||
Description=Timer zum Aufruf der Feinstaub Service Unit
|
||||
|
||||
[Timer]
|
||||
OnCalendar=OnCalendar=*:0/5
|
||||
Unit=feinstaub.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,11 @@
|
||||
# Pfad zum speichern: /etc/systemd/system/grafana_export.service
|
||||
[Unit]
|
||||
Description=ServiceUnit zum starten des Grafana Export Skriptes
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/python3 /home/pi/weewx_to_grafanaserver/grafana_export.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,10 @@
|
||||
# Pfad zum speichern: /etc/systemd/system/grafana_export.timer
|
||||
[Unit]
|
||||
Description=Timer zum Aufruf der Grafana Export Service Unit
|
||||
|
||||
[Timer]
|
||||
OnCalendar=OnCalendar=*:0/5
|
||||
Unit=grafana_export.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user