Skip to content

Commit 4e3f26c

Browse files
committed
do not restart services if veracrypt is installed
Signed-off-by: Simon L. <[email protected]>
1 parent 3e99bdc commit 4e3f26c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nextcloud_update.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ then
339339
# Hold veracrypt if installed since unmounting all drives, updating and mounting them again is not feasible
340340
# If you desperately need the update, you can do so manually
341341
apt-mark hold veracrypt
342+
343+
# Also do not restart services automatically when running apt-get dist-upgrade later on
344+
# As this otherwise restarts the veracrypt automount service and unmounts all drives unexpectedly
345+
export NEEDRESTART_MODE=l
342346
fi
343347

344348
# Enter maintenance:mode

0 commit comments

Comments
 (0)