diff --git a/installSyncthing.sh b/installSyncthing.sh index c3b08fb..902644b 100644 --- a/installSyncthing.sh +++ b/installSyncthing.sh @@ -7,7 +7,5 @@ echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https:// sudo apt update sudo apt install syncthing -y # On le lance au démarrage -systemctl enable syncthing@$USER.service -systemctl start syncthing@$USER.service -# On check si le service est bien démarré -systemctl status syncthing@myuser.service +sudo systemctl enable syncthing@$USER.service +sudo systemctl start syncthing@$USER.service