mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set (#333)
* Massive Update (Remove StorageCheck (old) + Add Ressource & StorageCheck, Remove Whiptail, Remove PCT Ressource Set
* Update calibre-web.sh
* Update cockpit.sh
* Update cronicle.sh
* Update homeassistant-core.sh
* Update podman-homeassistant.sh
* Update node-red.sh
* Update plex.sh
* Update wallos.sh
* Revert "Update wallos.sh"
This reverts commit ea6311e190.
* Update homeassistant.sh
* Update ct/cronicle.sh
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
---------
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
			
			
This commit is contained in:
		@@ -54,11 +54,9 @@ function default_settings() {
 | 
			
		||||
 | 
			
		||||
function update_script() {
 | 
			
		||||
header_info
 | 
			
		||||
check_container_storage
 | 
			
		||||
check_container_resources
 | 
			
		||||
if [[ ! -d /opt/archivebox ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
 | 
			
		||||
  read -r -p "Warning: Storage is dangerously low, continue anyway? <y/N> " prompt
 | 
			
		||||
  [[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
 | 
			
		||||
fi
 | 
			
		||||
msg_info "Stopping ${APP}"
 | 
			
		||||
systemctl stop archivebox
 | 
			
		||||
msg_ok "Stopped ${APP}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user