Uninstall
Stop and Remove the Service
sudo systemctl stop opsmini
sudo systemctl disable opsmini
sudo rm -f /etc/systemd/system/opsmini.service
sudo systemctl daemon-reload
Remove Binary and Config
# Remove the install directory (default /data/opsmini, or your custom path)
sudo rm -rf /data/opsmini
# or
sudo rm -rf /data/opsmini /data/opsmini
Remove the Dedicated User (Optional)
Notes
- Uninstalling does not remove resources managed by the panel (Docker containers/images, Nginx sites, databases); handle those separately.
- Confirm no needed business data remains in
opsmini.db before cleanup.