forked from pool/syncthing
This commit is contained in:
parent
a65556b1c2
commit
561103978a
@ -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
|
||||
|
||||
|
@ -2,4 +2,8 @@
|
||||
## Description: Opens ports for Syncthing.
|
||||
|
||||
# space separated list of allowed TCP ports
|
||||
TCP="21025 21026 22000"
|
||||
TCP="21025"
|
||||
|
||||
# space separated list of allowed UDP ports
|
||||
TCP="21026 22000"
|
||||
|
||||
|
@ -39,6 +39,11 @@ Internet.
|
||||
|
||||
%prep
|
||||
%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
|
||||
echo "v%{version}" | tee RELEASE
|
||||
|
Loading…
Reference in New Issue
Block a user