This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
manjaroConfiguration/installSyncthing.sh

12 lines
546 B
Bash
Raw Normal View History

2021-11-08 20:11:56 +01:00
# On ajoute le dépôt officiel de Syncthing
sudo apt update
sudo apt install curl -y
sudo curl -s -o /usr/share/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
echo "deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
# On installe Syncthing
sudo apt update
sudo apt install syncthing -y
# On le lance au démarrage
sudo systemctl enable syncthing@$USER.service
sudo systemctl start syncthing@$USER.service