forked from cockpit/cockpit
This commit is contained in:
parent
29c4404bbb
commit
68dfe24033
@ -288,10 +288,9 @@ mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html
|
|||||||
%pre ws
|
%pre ws
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%service_add_pre %{name}.service
|
%service_add_pre %{name}.service
|
||||||
%else
|
%endif
|
||||||
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
|
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
|
||||||
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
|
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
|
||||||
%endif
|
|
||||||
|
|
||||||
%post ws
|
%post ws
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user