mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-05 00:54:00 -04:00
Refactor cleanup steps to use cleanup_lxc function (#9354)
This commit is contained in:
@@ -258,14 +258,10 @@ ExecStart=/opt/signoz-otel-collector/bin/signoz-otel-collector --config=/opt/sig
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable -q --now signoz-otel-collector
|
||||
rm -rf ~/zookeeper.tar.gz
|
||||
rm -rf ~/apache-zookeeper-*-bin
|
||||
msg_ok "Setup Signoz OTel Collector"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
rm -rf ~/zookeeper.tar.gz
|
||||
rm -rf ~/apache-zookeeper-*-bin
|
||||
$STD apt -y autoremove
|
||||
$STD apt -y autoclean
|
||||
$STD apt -y clean
|
||||
msg_ok "Cleaned"
|
||||
cleanup_lxc
|
||||
|
||||
Reference in New Issue
Block a user