Skip to content

Commit 8b0b914

Browse files
committed
[IMP] Uninstall
1 parent 25ba76b commit 8b0b914

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

docs/user_guide/administration/uninstalling.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,9 @@ Follow these steps to completely remove OpenSPP and all its components from your
2323

2424
### Step 1: Stop and Disable the OpenSPP Service
2525

26-
**Stop OpenSPP service**
26+
**Stop and Disable (Remove) OpenSPP service**
2727
```bash
28-
sudo systemctl stop openspp
29-
```
30-
31-
**Disable service from starting on boot**
32-
```bash
33-
sudo systemctl disable openspp
28+
sudo systemctl stop openspp && sudo systemctl disable openspp
3429
```
3530

3631
### Step 2: Remove OpenSPP Package
@@ -52,7 +47,7 @@ sudo rm -rf /etc/openspp && sudo rm -rf /var/lib/openspp && sudo rm -rf /var/log
5247

5348
**Drop the OpenSPP database**
5449
```bash
55-
sudo -u postgres dropdb openspp_prod
50+
sudo -u postgres dropdb name_of_your_db
5651
```
5752

5853
**Remove the OpenSPP PostgreSQL user**
@@ -98,8 +93,7 @@ If you want to keep the database but remove the application:
9893

9994
**Stop and disable OpenSPP service**
10095
```bash
101-
sudo systemctl stop openspp
102-
sudo systemctl disable openspp
96+
sudo systemctl stop openspp && sudo systemctl disable openspp
10397
```
10498

10599
**Remove package but keep configuration**

0 commit comments

Comments
 (0)