Add config file instead of arguments for everything..

This commit is contained in:
2024-07-03 17:40:44 +02:00
parent 8d93c299c7
commit f2f8152c5a
5 changed files with 202 additions and 87 deletions

View File

@@ -2,7 +2,7 @@
Description=Routerstats collector service
[Service]
ExecStart=/usr/bin/env python3 /usr/local/bin/routerstats_collector.py /var/log/ulog/syslogemu.log /var/cache/routerstats/passwd.client
ExecStart=/usr/bin/env python3 /usr/local/bin/routerstats_collector.py
#So STDOUT and STDERR are not buffered
Environment=PYTHONUNBUFFERED=1
Restart=on-failure