mirror of https://github.com/Icinga/icinga2.git
Set proper user/group for config files.
This commit is contained in:
parent
3b4425c17e
commit
4916dea147
|
@ -12,7 +12,7 @@ CONFIG_FILES = \
|
||||||
install-data-local:
|
install-data-local:
|
||||||
@for file in $(CONFIG_FILES); do \
|
@for file in $(CONFIG_FILES); do \
|
||||||
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ install-data-local:
|
||||||
@$(MKDIR_P) $(icinga2confdir); \
|
@$(MKDIR_P) $(icinga2confdir); \
|
||||||
for file in $(CONFIG_FILES); do \
|
for file in $(CONFIG_FILES); do \
|
||||||
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ install-data-local:
|
||||||
@$(MKDIR_P) $(icinga2confdir); \
|
@$(MKDIR_P) $(icinga2confdir); \
|
||||||
for file in $(CONFIG_FILES); do \
|
for file in $(CONFIG_FILES); do \
|
||||||
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
if [ ! -e $(icinga2confdir)/$$file ]; then \
|
||||||
$(INSTALL_DATA) $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
$(INSTALL_DATA) -o @icinga_user@ -g @icinga_group@ -m 0640 $(srcdir)/$$file $(icinga2confdir)/$$file; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue