check removal and adding sudo for systemctl

This commit is contained in:
Mylloon 2021-11-08 20:13:25 +01:00
parent 5cbb023331
commit 1ac4a421cb

View file

@ -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