fix wrong usage of sudo

This commit is contained in:
Jakobus Schürz 2020-02-12 18:42:39 +01:00
parent e694b5ea4f
commit a1b772a296

View file

@ -2,7 +2,7 @@
sudo cp workdirfs.py /usr/local/bin/workdirfs.py sudo cp workdirfs.py /usr/local/bin/workdirfs.py
cp workdirfs.service ~/.config/systemd/user/workdirfs.service cp workdirfs.service ~/.config/systemd/user/workdirfs.service
sudo mkdir -pv ~/.config/systemd/user/default.target.wants/ mkdir -pv ~/.config/systemd/user/default.target.wants/
sudo ln -sf ../workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service ln -sf ../workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service
systemctl --user daemon-reload systemctl --user daemon-reload
systemctl --user restart workdirfs.service systemctl --user restart workdirfs.service