Automatically downloading, then running syncthing on an immutable TrueNAS SCALE system.
- A TrueNAS SCALE system, or other system where it's hard to install software directly.
- A user account on the system, logged in to a Linux terminal.
- A mounted filesystem where your user can write files, and execute them.
Go to the directory where you have write access, and download the repo:
mkdir -p syncthing-truenas
curl -fLS https://github.com/hugojosefson/syncthing-truenas/archive/refs/heads/main.tar.gz \
| tar xvz --strip-components=1 -C syncthing-truenas
...or, if you have git
installed:
git clone https://github.com/hugojosefson/syncthing-truenas
Then, go into the directory, and run the script to download and run syncthing as the current user:
cd syncthing-truenas
./syncthing