add uninstall-script
This commit is contained in:
parent
6a9a0088ef
commit
99f9bcf96a
1 changed files with 9 additions and 0 deletions
9
uninstall.sh
Normal file
9
uninstall.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue