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.

12 lines
428 B

# /etc/systemd/system/syncthing@syncthing.service.d/override.conf
[Service]
Environment="HOME=/home/syncthing"
Environment="XDG_CONFIG_HOME=/home/syncthing/.config"
ExecStart=
ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0 -home="/home/syncthing/.config/syncthing" -gui-address=127.0.0.1:{{syncthing_web_port|default('8384')}}
PrivateDevices=true
# ProtectSystem=full
# ProtectHome=true
NoNewPrivileges=true