diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2025-09-08 02:47:04 +0200 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2025-09-08 02:49:05 +0200 |
commit | 1372a98ed6e303763de9f4a6bd6c6011fb3b66bd (patch) | |
tree | 795b4c1483cdb08e3feb44ff57534c8f473b17ec | |
parent | net/bird2: Update to 2.17.2 (diff) |
net/bird3: Update rc script
Address some fixes:
- Modify rcorder to start sooner, enabling other daemons that rely on network
access to start correctly.
- Introduce gracefulrestart as an additional rc command.
PR: 282565
PR: 240732
Sponsored by: Netflix
-rw-r--r-- | net/bird3/Makefile | 3 | ||||
-rw-r--r-- | net/bird3/files/bird.in | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/net/bird3/Makefile b/net/bird3/Makefile index 6e6e2272b75c..4ac5d93bd9e2 100644 --- a/net/bird3/Makefile +++ b/net/bird3/Makefile @@ -1,12 +1,13 @@ PORTNAME= bird DISTVERSION= 3.1.3 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://bird.nic.cz/download/ PKGNAMESUFFIX= 3 MAINTAINER= olivier@FreeBSD.org COMMENT= Dynamic multithreaded IP routing daemon -WWW= https://bird.network.cz/ +WWW= https://bird.nic.cz/ LICENSE= GPLv2 diff --git a/net/bird3/files/bird.in b/net/bird3/files/bird.in index de800bd69b81..91932c656db9 100644 --- a/net/bird3/files/bird.in +++ b/net/bird3/files/bird.in @@ -1,7 +1,7 @@ #!/bin/sh # PROVIDE: bird dynamicrouting -# REQUIRE: LOGIN +# REQUIRE: DAEMONS # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf.local or /etc/rc.conf @@ -27,4 +27,8 @@ load_rc_config $name command=%%PREFIX%%/sbin/${name} command_args="-c $bird_config -g $bird_group" +extra_commands="gracefulrestart" # It is not a restart but a stop + +gracefulrestart_cmd="%%PREFIX%%/sbin/${name}c graceful restart" + run_rc_command "$1" |