Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
packaging
rpm-icingadb
Commits
0e5ebae2
Commit
0e5ebae2
authored
Apr 02, 2020
by
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
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
icingadb.spec
View file @
0e5ebae2
...
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment