Ansible role to set up syncthing, with relay and discovery server, nginx frontend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
456 B

# /etc/systemd/system/stdiscosrv.service.d/override.conf
[Service]
User=
User=syncthing
Group=
Group=syncthing
WorkingDirectory=/var/lib/syncthing/discosrv
ReadWritePaths=
ReadWritePaths=/var/lib/syncthing/discosrv
ExecStart=
ExecStart=/usr/bin/stdiscosrv -listen="127.0.0.1:{{syncthing_disco_http_port|default('8443')}}" -http
# Already set by ubuntu-shipped default unit
#PrivateDevices=true
#ProtectSystem=full
#ProtectHome=true
#NoNewPrivileges=true