Create install.sh
This commit is contained in:
parent
3cc5f27377
commit
7cb1798161
|
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
sudo mkdir -p /etc/apt/keyrings
|
||||
sudo curl -L -o /etc/apt/keyrings/syncthing-archive-keyring.gpg https://syncthing.net/release-key.gpg
|
||||
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||
echo "deb [signed-by=/etc/apt/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing candidate" | sudo tee /etc/apt/sources.list.d/syncthing.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install syncthing
|
||||
sudo systemctl enable --now syncthing@lts.service
|
||||
Loading…
Reference in New Issue