updated service file: now pulls every time it restarts
This commit is contained in:
parent
f8f3f088b7
commit
5ccd4f8feb
|
@ -6,6 +6,7 @@ Type=oneshot
|
|||
User=pi
|
||||
Group=pi
|
||||
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
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue