Feature: uninstall command
You want to uninstall Indie Web Server. You don’t want to know anything about its inner workings to do so.
Ask for confirmation:
- Check if web server is enabled. If so, inform the person that uninstalling will disable the web server.
- Check if an ACME TLS certificate exists, if so inform the person that it will be removed.
If web server is enabled, deactivate and disable it.
- The ~/.acme-tls folder
- The ~/.nodecert folder
The web-server.service systemd service file(unnecessary as the disable command now removes it as part of its own housekeeping).
- The web-server binary from /usr/local/bin/