Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers. This repository creates the s9pk
package that is installed to run Syncthing
on StartOS.
Prior to building the syncthing
package, it's essential to configure your build environment for StartOS services. You can find instructions on how to set up the appropriate build environment in the Developer Docs.
Clone the Syncthing package repository locally.
git clone https://github.com/Start9Labs/syncthing-startos.git
cd syncthing-startos
To build the Syncthing service as a universal package, run the following command:
make
Alternatively the package can be built for individual architectures by specifying the architecture as follows:
# for amd64
make x86
or
# for arm64
make arm
Before installation, define host: https://server-name.local
in your ~/.embassy/config.yaml
config file then run the following commands to determine successful install:
:information_source: Change server-name.local to your Start9 server address
start-cli auth login
#Enter your StartOS password
make install
Tip: You can also install the syncthing.s9pk
by sideloading it under the StartOS > System > Sideload a Service section.
Go to your StartOS Services page, select Syncthing and start the service.
Done!