From: Vincent Bernat Date: Fri, 11 Mar 2022 14:47:00 +0000 (+0100) Subject: Pkg: Improve RPM package unit file X-Git-Tag: v2.0.10~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3828879a395c84bd7aac089903c88bb3a9c149d;p=thirdparty%2Fbird.git Pkg: Improve RPM package unit file Update the RPM package unit file to check configuration before start and to use "birdc configure" instead of "kill -HUP". --- diff --git a/distro/pkg/rpm/bird.service b/distro/pkg/rpm/bird.service index fa203c781..26bcb8a03 100644 --- a/distro/pkg/rpm/bird.service +++ b/distro/pkg/rpm/bird.service @@ -5,8 +5,9 @@ After=network.target [Service] Type=simple +ExecStartPre=/usr/sbin/bird -p ExecStart=/usr/sbin/bird -f -u bird -g bird -ExecReload=/bin/kill -HUP $MAINPID +ExecReload=/usr/sbin/birdc configure Restart=on-failure [Install]