check removal and adding sudo for systemctl
This commit is contained in:
parent
5cbb023331
commit
1ac4a421cb
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Reference in a new issue