17 lines
462 B
SYSTEMD
17 lines
462 B
SYSTEMD
|
[Unit]
|
||
|
Description=Physical display query grapher for Blocky DNS Server.
|
||
|
After=syslog.target
|
||
|
After=network.target
|
||
|
#If you have Blocky service, its better to start grapher after it.
|
||
|
#After=blocky.service
|
||
|
[Service]
|
||
|
Environment=PYTHONUNBUFFERED=1
|
||
|
# Change according to your setup.
|
||
|
User=user
|
||
|
Group=user
|
||
|
WorkingDirectory=/path/to/BlockyGrapher
|
||
|
ExecStart=python3 BlockyGrapher.py --i2c-port 2 --i2c-address 0x3C
|
||
|
KillSignal=sigterm
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|