wall announcements at beginning/end of upgrade script
This commit is contained in:
parent
cab5728a63
commit
9acc13c1cb
4
upgrade
4
upgrade
|
@ -2,6 +2,8 @@
|
|||
|
||||
# Perform a full system upgrade
|
||||
|
||||
wall "The server will reboot in 5 minutes to install upgrades!"
|
||||
|
||||
# Clean up Nix store
|
||||
sudo nix-collect-garbage
|
||||
sudo nix-store --optimize
|
||||
|
@ -22,3 +24,5 @@ export NEXTCLOUD_PHP=/usr/bin/php
|
|||
export NEXTCLOUD_PHP_CONFIG=/etc/php/php.ini
|
||||
occ upgrade
|
||||
occ app:update --all
|
||||
|
||||
wall "The server will reboot NOW to install upgrades!"
|
||||
|
|
Loading…
Reference in a new issue