Skip to content
Snippets Groups Projects
Commit 3d8fa6bb authored by Volkor The Barbarian Warrior's avatar Volkor The Barbarian Warrior
Browse files

Fix working directory

systemd couldn't find config.json, as it was a relative path.
parent 1cc8d763
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ Description = Bluetooth Connectivity with Weather Monitor
User=pi
Group=pi
Type=oneshot
WorkingDirectory=/home/pi/Assignment1
ExecStart = /home/pi/Assignment1/greenhouse_bluetooth.py
[Install]
......
......@@ -6,6 +6,7 @@ Wants = network-online.target
[Service]
User=pi
Group=pi
WorkingDirectory=/home/pi/Assignment1
ExecStart = /home/pi/Assignment1/monitor_and_notify.py
Restart=always
RestartSec=30
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment