2020-07-20 17:07:52 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Ticker
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
# Command to execute when the service is started
|
|
|
|
ExecStart=/usr/bin/python3 /home/pi/ticker/main.py
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=PYTHONUNBUFFERED=1
|
2020-07-20 22:24:59 +01:00
|
|
|
User=pi
|
|
|
|
EnvironmentFile=/home/pi/ticker/ticker-env
|
2020-07-20 17:07:52 +01:00
|
|
|
Type=simple
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|