Commit 0e5ebae2 authored by Alexander A. Klimov's avatar Alexander A. Klimov
Browse files

Make /etc/icingadb the home dir of icingadb

... because icingadb owns it.
parent 5c18ce35
Pipeline #9113 passed with stages
in 14 minutes and 34 seconds
......@@ -127,7 +127,7 @@ install -D -m 0640 %{SOURCE3} %{buildroot}%{_sysconfdir}/icinga-redis/icingadb-r
%pre
getent group icingadb >/dev/null || groupadd -r icingadb
getent passwd icingadb >/dev/null || useradd -r -g icingadb -d / -s /sbin/nologin -c 'Icinga DB' icingadb
getent passwd icingadb >/dev/null || useradd -r -g icingadb -d /etc/icingadb -s /sbin/nologin -c 'Icinga DB' icingadb
%if "%{_vendor}" == "suse"
%service_add_pre %{service}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment