forked from pool/vsftpd
address reviewer comments from https://build.opensuse.org/request/show/1004026
OBS-URL: https://build.opensuse.org/package/show/network/vsftpd?expand=0&rev=169
This commit is contained in:
parent
d2e95e384a
commit
9bab98923d
@ -211,7 +211,7 @@ install -D -m 644 %{name}.8 %{buildroot}/%{_mandir}/man8/%{name}.8
|
||||
%if %{with_systemd}
|
||||
ln -sf service %{buildroot}/%{_sbindir}/rc%{name}
|
||||
install -D -m 0644 %{SOURCE7} %{buildroot}/%{_unitdir}/%{name}.service
|
||||
%if 0%{?sle_version} < 150300
|
||||
%if 0%{?sle_version} && 0%{?sle_version} < 150300
|
||||
sed -r -i '/^(Protect(Home|Hostname|KernelLogs|Clock|KernelTunables|KernelModules|ControlGroups)|RestrictRealtime|PrivateMounts)=/d' %{buildroot}/%{_unitdir}/%{name}.service
|
||||
%endif
|
||||
install -D -m 0644 %{SOURCE8} %{buildroot}/%{_unitdir}/%{name}@.service
|
||||
|
Loading…
Reference in New Issue
Block a user