From 16265becf64a30327d06ae769d8a184e553ce8e4 Mon Sep 17 00:00:00 2001 From: Julien Charbon Date: Mon, 7 Dec 2015 13:26:43 +0000 Subject: [PATCH] [VRSNBSD-192]: Create birdvty group at installation time and use it at launch time. --- GIDs | 2 +- net/bird/files/bird.in | 3 ++- net/bird/files/bird6.in | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/GIDs b/GIDs index 27c400a40bc6..796c0787213b 100644 --- a/GIDs +++ b/GIDs @@ -442,7 +442,7 @@ alertmanager:*:479: # free: 499 # free: 500 # free: 501 -# free: 502 +birdvty:*:502: # free: 503 # free: 504 _bbstored:*:505: diff --git a/net/bird/files/bird.in b/net/bird/files/bird.in index e2f7223be393..9bfc89ac4b2c 100644 --- a/net/bird/files/bird.in +++ b/net/bird/files/bird.in @@ -28,7 +28,8 @@ extra_commands="reload" : ${bird_enable="NO"} : ${bird_config="%%PREFIX%%/etc/bird.conf"} +: ${bird_group="birdvty"} -command_args="-P /var/run/${name}.pid -c $bird_config" +command_args="-P /var/run/${name}.pid -c $bird_config -g $bird_group" run_rc_command "$1" diff --git a/net/bird/files/bird6.in b/net/bird/files/bird6.in index 8fab16e013df..304e877fc519 100644 --- a/net/bird/files/bird6.in +++ b/net/bird/files/bird6.in @@ -28,7 +28,8 @@ extra_commands="reload" : ${bird6_enable="NO"} : ${bird6_config="%%PREFIX%%/etc/bird6.conf"} +: ${bird6_group="birdvty"} -command_args="-P /var/run/${name}.pid -c $bird6_config" +command_args="-P /var/run/${name}.pid -c $bird6_config -g $bird6_group" run_rc_command "$1" -- 2.19.1