mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
net-misc/quagga: create directory for PID files during src_install
Directory for PID files was not created during src_install, which makes impossible to use Quagga daemons before first reboot for systemd users Reported-by: Olipro <olipro+gentoopub@gmail.com> Gentoo-Bug: 558194 Package-Manager: portage-2.2.20
This commit is contained in:
@@ -103,6 +103,11 @@ src_install() {
|
||||
fowners root:quagga /etc/quagga
|
||||
fperms 0770 /etc/quagga
|
||||
|
||||
# Path for PIDs before first reboot should be created here, bug #558194
|
||||
dodir /run/quagga
|
||||
fowners quagga:quagga /run/quagga
|
||||
fperms 0770 /run/quagga
|
||||
|
||||
# Install systemd-related stuff, bug #553136
|
||||
systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf"
|
||||
systemd_dounit "${FILESDIR}/systemd/zebra.service"
|
||||
Reference in New Issue
Block a user