Change program name and add service file.
This commit is contained in:
16
BlockyGrapher.service
Normal file
16
BlockyGrapher.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[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
|
Reference in New Issue
Block a user