Skip to main content
Version: 6.1

Updating and Removing SMRTC

This article describes how to update and remove an SMRTC node deployed using the installer.

Updating SMRTC

sudo bash setup.sh update

The installer detects the layout of the existing installation from the systemd unit, saves copies of the node configuration, keystore, and systemd unit in staging/backup/, replaces the executable, recreates the systemd unit, and restarts the service.

The node configuration (smrtc.yml) is not overwritten during an update. Only the executable and systemd unit are updated.

Removing SMRTC

sudo bash setup.sh uninstall --dry-run
sudo bash setup.sh uninstall

--dry-run shows what will be removed without making changes. A regular removal deletes:

  • the /etc/systemd/system/smrtc.service systemd unit
  • the entire installation directory, including the executable, configuration, certificates, data, content, and keystore
  • the log directory
  • the smrtc system user

Confirmation requires entering exactly yes. For an automated installation, this is controlled by the confirm: "yes" key in the uninstall section of the answer file. Any other value cancels the removal.

Important

Removal destroys all rules, active lists, cluster state, and TLS material on this node. This action cannot be undone.