From 245629ce0203931435534a2140d99ab0f08cd690 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 13 Nov 2024 17:52:45 +0100 Subject: update git when shutting down * apparently, the network is sometimes not yet up, when starting * so we update when shutting down (too) instead --- computer-time-limit.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/computer-time-limit.service b/computer-time-limit.service index f096f74..2e66528 100644 --- a/computer-time-limit.service +++ b/computer-time-limit.service @@ -3,6 +3,8 @@ Description=Limit the computer time [Service] ExecStart=/usr/src/skripte/computer-time-limit/computer-time-limit +ExecStopPost=-/usr/bin/git -C /usr/src/skripte/computer-time-limit pull --ff-only +ExecStopPost=-/usr/bin/git -C /usr/src/skripte/ykverify pull --ff-only Restart=on-failure [Install] -- cgit v1.2.3-70-g09d2