etc: Added ufw firewall application preset

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3703
This commit is contained in:
Stefan Kuntz
2016-11-03 15:46:25 +00:00
committed by Jakob Borg
parent c08fe4e2c5
commit e408f1061a
3 changed files with 27 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ var targets = map[string]target{
{src: "etc/linux-systemd/system/syncthing@.service", dst: "deb/lib/systemd/system/syncthing@.service", perm: 0644},
{src: "etc/linux-systemd/system/syncthing-resume.service", dst: "deb/lib/systemd/system/syncthing-resume.service", perm: 0644},
{src: "etc/linux-systemd/user/syncthing.service", dst: "deb/usr/lib/systemd/user/syncthing.service", perm: 0644},
{src: "etc/firewall-ufw/syncthing", dst: "deb/etc/ufw/applications.d/syncthing", perm: 0644},
},
},
"stdiscosrv": {