Skip to content

Commit 72270f2

Browse files
committed
Add uninstall instructions
1 parent 58c8e46 commit 72270f2

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

INSTALL.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,32 @@ If you use [Arch Linux](https://archlinux.org/), then you can install the client
104104
The AUR package will install the configuration to `/etc` and the binaries to `/usr/bin`.
105105

106106
(The AUR package is maintained by a third party maintainer. Thanks!)
107+
108+
# Uninstalling
109+
110+
## Installed by `install-*.sh`
111+
112+
If you installed letmein with the `install-*.sh` scripts (see above), run the following commands to completely remove letmein from your system.
113+
114+
WARNING: This also removes the configuration files.
115+
116+
```sh
117+
systemctl stop letmeind.socket
118+
systemctl stop letmeind.service
119+
systemctl stop letmeinfwd.socket
120+
systemctl stop letmeinfwd.service
121+
systemctl disable letmeind.service
122+
systemctl disable letmeind.socket
123+
systemctl disable letmeinfwd.service
124+
systemctl disable letmeinfwd.socket
125+
126+
rm /etc/systemd/system/letmeind.socket
127+
rm /etc/systemd/system/letmeind.service
128+
rm /etc/systemd/system/letmeinfwd.socket
129+
rm /etc/systemd/system/letmeinfwd.service
130+
rm -r /opt/letmein
131+
```
132+
133+
## Installed by other method
134+
135+
If you used another method please refer to the documentation of your install method.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ Match host your-server.com exec "letmein knock -u 00000000 your-server.com 22"
107107

108108
See the [installation instructions](INSTALL.md) for more information about how to build and install letmein.
109109

110+
## Uninstalling
111+
112+
If you want to completely remove letmein from your system, see the [uninstall instructions](INSTALL.md#uninstalling).
113+
110114
## Platform support
111115

112116
### Client

0 commit comments

Comments
 (0)