diff options
author | Erich Eckner <git@eckner.net> | 2024-11-13 17:52:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-11-13 17:52:45 +0100 |
commit | 245629ce0203931435534a2140d99ab0f08cd690 (patch) | |
tree | 399d0f03dcffd9c1edbeda0f1b010a69f1363138 | |
parent | f83c6961e352f8147db74c6b1da680f2ea1234da (diff) | |
download | computer-time-limit-master.tar.xz |
* apparently, the network is sometimes not yet up, when starting
* so we update when shutting down (too) instead
-rw-r--r-- | computer-time-limit.service | 2 |
1 files changed, 2 insertions, 0 deletions
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] |