diff options
| -rw-r--r-- | recipes-extended/nagios/nagios-core_4.4.6.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-extended/nagios/nagios-core_4.4.6.bb b/recipes-extended/nagios/nagios-core_4.4.6.bb index 59b70895..7ec930cd 100644 --- a/recipes-extended/nagios/nagios-core_4.4.6.bb +++ b/recipes-extended/nagios/nagios-core_4.4.6.bb | |||
| @@ -106,14 +106,14 @@ do_install() { | |||
| 106 | 106 | ||
| 107 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 107 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 108 | install -d ${D}${systemd_unitdir}/system | 108 | install -d ${D}${systemd_unitdir}/system |
| 109 | install -m 644 ${WORKDIR}/nagios-core.service ${D}${systemd_unitdir}/system/ | 109 | install -m 644 ${UNPACKDIR}/nagios-core.service ${D}${systemd_unitdir}/system/ |
| 110 | # use our own service file | 110 | # use our own service file |
| 111 | rm -f ${D}${systemd_unitdir}/system/nagios.service | 111 | rm -f ${D}${systemd_unitdir}/system/nagios.service |
| 112 | install -d ${D}${sysconfdir}/tmpfiles.d | 112 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 113 | install -m 755 ${WORKDIR}/nagios-core-systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/nagios-core-volatile.conf | 113 | install -m 755 ${UNPACKDIR}/nagios-core-systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/nagios-core-volatile.conf |
| 114 | else | 114 | else |
| 115 | install -d ${D}${sysconfdir}/default/volatiles | 115 | install -d ${D}${sysconfdir}/default/volatiles |
| 116 | install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/99_nagios | 116 | install -m 0644 ${UNPACKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/99_nagios |
| 117 | fi | 117 | fi |
| 118 | } | 118 | } |
| 119 | 119 | ||
