Add working directory to bme680-homekit.service
This commit is contained in:
parent
e35f2207b8
commit
33b3432787
1 changed files with 2 additions and 1 deletions
|
@ -3,10 +3,11 @@ Description=Bme680 Homekit service
|
|||
After=local-fs.target network-online.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/pi/bme680-homekit/
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
User=pi
|
||||
ExecStart=/usr/bin/python3 /home/pi/bme680-homekit/sensors/main.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue