We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09ae7a9 commit 463304fCopy full SHA for 463304f
SuperSecureBank/uninstall_supersecure_bank.sh
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
+
3
+# Uninstallation script for Banking Transaction Simulator
4
5
+# Variables
6
+INSTALL_DIR="/usr/local/banking_simulator"
7
+SERVICE_PATH="/etc/systemd/system/banking.service"
8
9
+# Stop and disable the service
10
+systemctl stop banking.service
11
+systemctl disable banking.service
12
13
+# Remove service file
14
+rm -f $SERVICE_PATH
15
+systemctl daemon-reload
16
17
+# Remove installation directory
18
+rm -rf $INSTALL_DIR
19
20
+# Remove persistent data file
21
+rm -f /var/log/account_data.json
22
23
+echo "Banking Transaction Simulator uninstalled successfully!"
0 commit comments