From 99f9bcf96a494ede38d583351d9b09df55fd176c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 16:35:02 +0100 Subject: [PATCH] add uninstall-script --- uninstall.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 uninstall.sh diff --git a/uninstall.sh b/uninstall.sh new file mode 100644 index 0000000..88aa57e --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +echo "Remove workdirfs" +echo "stop workdirfs.service" +systemctl --user stop workdirfs.service +echo "remove binaries and units from system" +sudo rm -rf /usr/local/bin/workdirfs.py /etc/systemd/user/workdirfs.service /etc/systemd/user/default.target.wants/workdirfs +echo "remove systemd-units for this user $USER" +rm -rf ~/.config/systemd/user/workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service