Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
packaging
rpm-icingadb
Commits
937d9a25
Commit
937d9a25
authored
Apr 20, 2020
by
Noah Hilverling
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/user-home' into 'master'
Make /etc/icingadb the home dir of icingadb See merge request
!2
parents
5c18ce35
0e5ebae2
Pipeline
#12174
failed with stages
in 9 minutes and 23 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
icingadb.spec
icingadb.spec
+1
-1
No files found.
icingadb.spec
View file @
937d9a25
...
@@ -127,7 +127,7 @@ install -D -m 0640 %{SOURCE3} %{buildroot}%{_sysconfdir}/icinga-redis/icingadb-r
...
@@ -127,7 +127,7 @@ install -D -m 0640 %{SOURCE3} %{buildroot}%{_sysconfdir}/icinga-redis/icingadb-r
%pre
%pre
getent group icingadb >/dev/null || groupadd -r icingadb
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"
%if "%{_vendor}" == "suse"
%service_add_pre %{service}
%service_add_pre %{service}
...
...
Write
Preview
Markdown
is supported
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