Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 277 Bytes
[Unit]
Description=Run photoresistor sensor
After=postgresql.service
[Service]
User=pi
Environment=TIMESCALEDB_CONNECTION=postgres://USERNAME:PASSWORD@HOST:PORT/defaultdb?sslmode=require
ExecStart=/home/pi/photoresistor.py
Restart=always
[Install]
WantedBy=multi-user.target
You can’t perform that action at this time.