2020-02-12 16:35:02 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "Remove workdirfs"
|
|
|
|
echo "stop workdirfs.service"
|
|
|
|
systemctl --user stop workdirfs.service
|
|
|
|
echo "remove binaries and units from system"
|
2020-02-12 17:30:08 +01:00
|
|
|
sudo rm -rf /usr/local/bin/workdirfs.py /etc/workdirfs.conf /etc/systemd/user/workdirfs.service /etc/systemd/user/default.target.wants/workdirfs
|
2020-02-12 16:35:02 +01:00
|
|
|
echo "remove systemd-units for this user $USER"
|
2020-02-12 17:30:08 +01:00
|
|
|
rm -rf ~/.config/workdirfs.conf ~/.config/systemd/user/workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service
|