From 557932af030e6ec5b92922f6fe438c2322e27220 Mon Sep 17 00:00:00 2001 From: ITmail-dk Date: Tue, 22 Nov 2022 17:42:09 +0100 Subject: [PATCH] EDIT Sync... fix $(whoami) --- scripts-install/install-syncthing.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts-install/install-syncthing.sh b/scripts-install/install-syncthing.sh index c77197f..79cbfbe 100644 --- a/scripts-install/install-syncthing.sh +++ b/scripts-install/install-syncthing.sh @@ -19,4 +19,11 @@ echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https:// sleep 1 -sudo apt update && sudo apt install -y syncthing \ No newline at end of file +sudo apt update && sudo apt install -y syncthing + +systemctl enable syncthing@$(whoami).service +systemctl start syncthing@$(whoami).service + +clear + +systemctl status syncthing@$(whoami).service \ No newline at end of file