Skip to content

Commit 90c2ade

Browse files
authored
do not restart services if veracrypt is installed (#2789)
Signed-off-by: Simon L. <[email protected]>
1 parent 3e99bdc commit 90c2ade

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

nextcloud_update.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,11 @@ 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
346+
export NEEDRESTART_SUSPEND=1
342347
fi
343348

344349
# Enter maintenance:mode

0 commit comments

Comments
 (0)