This commit is contained in:
committed by
Git OBS Bridge
parent
04364bf0b8
commit
74d07aeab6
@@ -151,7 +151,7 @@ install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
||||
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}
|
||||
|
||||
%pre
|
||||
%{_sbindir}/useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null || :
|
||||
getent passwd ftpsecure >/dev/null || useradd -r -g nogroup -s /bin/false -c "Secure FTP User" -d %{_localstatedir}/lib/empty ftpsecure 2> /dev/null
|
||||
%if %{with_systemd}
|
||||
%service_add_pre %{name}.service %{name}@.service %{name}.socket
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user