Add config file instead of arguments for everything..
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user