add setup for only one user

This commit is contained in:
Jakobus Schürz 2020-02-12 16:30:32 +01:00
parent 3f8f32e658
commit 6a9a0088ef

8
setup-myuser.sh Normal file
View 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