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.servicesystemd unit - the entire installation directory, including the executable, configuration, certificates, data, content, and keystore
- the log directory
- the
smrtcsystem 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.
Removal destroys all rules, active lists, cluster state, and TLS material on this node. This action cannot be undone.