SHA256
1
0
forked from pool/syncthing
Alexei Sorokin 2015-08-15 20:57:55 +00:00 committed by Git OBS Bridge
parent a65556b1c2
commit 561103978a
3 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 15 19:43:27 UTC 2015 - sor.alexei@meowr.ru
- Fix systemd service for openSUSE Leap 42.x and openSUSE 13.2.
- Fix SUSEfirewall rule by setting UDP ports as UDP ports.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Aug 9 21:43:38 UTC 2015 - sor.alexei@meowr.ru Sun Aug 9 21:43:38 UTC 2015 - sor.alexei@meowr.ru

View File

@ -2,4 +2,8 @@
## Description: Opens ports for Syncthing. ## Description: Opens ports for Syncthing.
# space separated list of allowed TCP ports # space separated list of allowed TCP ports
TCP="21025 21026 22000" TCP="21025"
# space separated list of allowed UDP ports
TCP="21026 22000"

View File

@ -39,6 +39,11 @@ Internet.
%prep %prep
%setup -q %setup -q
%if 0%{?suse_version} <= 1320
# Remove an entry that only exists since systemd 215.
sed -i '/^RestartForceExitStatus=/d;s/^\(SuccessExitStatus=\).*$/\12/' \
etc/linux-systemd/system/syncthing@.service
%endif
%build %build
echo "v%{version}" | tee RELEASE echo "v%{version}" | tee RELEASE