From 5ccd4f8feb7e52cf05ceaf2da149c87840dd9d48 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Mon, 29 Jan 2018 19:07:53 +0100 Subject: [PATCH] updated service file: now pulls every time it restarts --- sats-debug@.service | 1 + 1 file changed, 1 insertion(+) diff --git a/sats-debug@.service b/sats-debug@.service index 472fdb8..0c28873 100644 --- a/sats-debug@.service +++ b/sats-debug@.service @@ -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]