updated service file: now pulls every time it restarts

This commit is contained in:
xdrm-brackets 2018-01-29 19:07:53 +01:00
parent f8f3f088b7
commit 5ccd4f8feb
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Type=oneshot
User=pi User=pi
Group=pi Group=pi
ExecStartPre=-/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /home/pi/debug ExecStartPre=-/usr/bin/git clone --recursive -b master ssh://smmp-server/satsd/debug /home/pi/debug
ExecStartPre=-/usr/bin/git -C /home/pi/debug pull origin master
ExecStart=/bin/bash /home/pi/debug/sats/main %i ExecStart=/bin/bash /home/pi/debug/sats/main %i
[Install] [Install]