From 4afacc8a722a3974311250e0b659f72f03360c8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 19 May 2019 20:40:19 +0100 Subject: [PATCH] do not assume cyryl as username for syncthing --- ubuntu/up.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/up.sh b/ubuntu/up.sh index 45e4ebd1..a2bb30fc 100755 --- a/ubuntu/up.sh +++ b/ubuntu/up.sh @@ -26,7 +26,7 @@ if [[ -z $NO_SYSTEMCTL ]]; then sudo systemctl restart docker sudo systemctl enable fail2ban sudo systemctl restart fail2ban - sudo systemctl enable --now syncthing@cyryl.service + sudo systemctl enable --now syncthing@$USER.service fi DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"