shatteredsilicon / ssm-submodules

GNU Affero General Public License v3.0
1 stars 2 forks source link

ssm-admin uninstall should clean up legacy service scripts in /etc/systemd/system #147

Closed gordan-bobic closed 1 year ago

gordan-bobic commented 1 year ago

Back in PMM days and early SSM days, the service scripts were generated at ssm-admin add time. We now have external config files so service scripts are static in /etc/systemd/system/.

But if the system was originally set up on old SSM and then upgraded, those old scripts in /etc/systemd/system/ssm-*.service can remain.

ssm-admin uninstall should check for them and remove them. rpm -e ssm-client should also check for them and remove them. yum install / rpm -Uvh should check for them and rename them to .rpmsave, followed by systemctl daemon-reload

oblitorum commented 1 year ago

Closed as it's completed