Add working directory to service file

This commit is contained in:
Quad 2020-09-30 23:05:08 +02:00
parent c9a1a9ec72
commit a8c80d6eab
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@ Description=Music Player
[Service] [Service]
ExecStart=/home/pi/officemusic/run.sh ExecStart=/home/pi/officemusic/run.sh
WorkingDirectory=/home/pi/officemusic
User=pi User=pi
Group=pi Group=pi
TimeoutStopSec=25 TimeoutStopSec=25