workdirfs/setup-myuser.sh

11 lines
441 B
Bash
Raw Normal View History

2020-02-12 16:30:32 +01:00
#!/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
2020-02-12 17:30:08 +01:00
cp workdirfs.config ~/.config/workdirfs.conf
sudo cp workdirfs.config /etc/workdirfs.conf
2020-02-12 16:30:32 +01:00
systemctl --user daemon-reload
systemctl --user restart workdirfs.service