add setup for only one user
This commit is contained in:
parent
3f8f32e658
commit
6a9a0088ef
1 changed files with 8 additions and 0 deletions
8
setup-myuser.sh
Normal file
8
setup-myuser.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
sudo cp workdirfs.py /usr/local/bin/workdirfs.py
|
||||
cp workdirfs.service ~/.config/systemd/user/workdirfs.service
|
||||
sudo mkdir -pv ~/.config/systemd/user/default.target.wants/
|
||||
sudo ln -sf ../workdirfs.service ~/.config/systemd/user/default.target.wants/workdirfs.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user restart workdirfs.service
|
Loading…
Reference in a new issue