You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / syncthing-discosrv-0.12.1-1.lbn19.x86_64

syncthing-discosrv-0.12.1-1.lbn19.x86_64

Package Attributes
RPM  syncthing-discosrv-0.12.1-1.lbn19.x86_64.rpm Architecture  x86_64 Size  9916862 Created  2019/09/30 06:58:00 UTC
Package Specification
Summary The Syncthing global discovery server
Group Application/Testing
License GPL
Home Page http://www.syncthing.net
Description

The discovery server supports ql and postgres backends. Specify the backend via -db-backend and the database DSN via -db-dsn.

By default it will use in-memory ql backend. If you wish to persist the information on disk between restarts in ql, specify a file DSN:

$ discosrv -db-dsn="file://var/run/discosrv.db"

For postgres, you will need to create a database and a user with permissions to create tables in it, then start the discosrv as follows:

$ export DISCOSRV_DB_DSN="postgres://user:password@localhost/databasename" $ discosrv -db-backend="postgres"

You can pass the DSN as command line option, but the value what you pass in will be visible in most process managers, potentially exposing the database password to other users.

In all cases, the appropriate tables and indexes will be created at first startup. If it doesn't exit with an error, you're fine.

See discosrv -help for other options.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
systemd  
rpmlib(CompressedFileNames)  
golang  
rpmlib(PayloadIsXz)  
Provides
syncthing-discosrv
syncthing-discosrv(x86-64)

Document Actions