fix wrong usage of sudo
This commit is contained in:
parent
e694b5ea4f
commit
a1b772a296
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue