12 lines
320 B
Desktop File
12 lines
320 B
Desktop File
[Unit]
|
|
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
|
|
#So STDOUT and STDERR are not buffered
|
|
Environment=PYTHONUNBUFFERED=1
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=default.target
|