From ed5a898294ec3bdd7f3fc081443036e27558f9e5 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 27 Nov 2017 12:56:45 +0100 Subject: systemd/dumpwatch.service: Use %u rather than hard-coding user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- systemd/user/dumpwatch.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemd') diff --git a/systemd/user/dumpwatch.service b/systemd/user/dumpwatch.service index 657424b..8161c69 100644 --- a/systemd/user/dumpwatch.service +++ b/systemd/user/dumpwatch.service @@ -4,7 +4,7 @@ Description=Watch ~/dumpdir for things to upload to theos [Service] Environment=dump_host=theos.kyriasis.com Environment=dump_user=kyrias -ExecStart=/home/kyrias/.local/bin/dumpwatch.zsh +ExecStart=/home/%u/.local/bin/dumpwatch.zsh [Install] WantedBy=default.target -- cgit v1.2.3-70-g09d2