From 6a9a0088ef3defd7d13cd357588321f0804d2bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 16:30:32 +0100 Subject: [PATCH] add setup for only one user --- setup-myuser.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 setup-myuser.sh diff --git a/setup-myuser.sh b/setup-myuser.sh new file mode 100644 index 0000000..7576984 --- /dev/null +++ b/setup-myuser.sh @@ -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