Project

General

Profile

Actions

Feature #11301

open

Switch FRR to use default rc file as a service control base

Added by Ben Hughes almost 4 years ago. Updated almost 4 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
01/23/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:

Description

Switch FRR to use default rc file as a service control base

- Set rc.conf.d/frr for watchfrr service action support

watchfrr uses the frr rc script to perform service actions when a service crashes but this is disabled as the rc.conf settings aren't set as the service is managed by the pfSense UI.

- Set a minimal set of configuration for the rc script to operate and allow watchfrr to execute service actions.

- Switch pfSense generated rc file to use port rc file as a base

- Remove the creation of the daemon start string temporary file as this functionality can be achieved by using the rc.conf.d file instead.

- Add test of running daemons to restart/reload decision to ensure services are start on boot.

- Rationalise variables names in frr_generate_config_rcfile()

Actions

Also available in: Atom PDF