]> git.proxmox.com Git - mirror_frr.git/blob - tools/etc/frr/daemons
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / tools / etc / frr / daemons
1 # This file tells the frr package which daemons to start.
2 #
3 # Sample configurations for these daemons can be found in
4 # /usr/share/doc/frr/examples/.
5 #
6 # ATTENTION:
7 #
8 # When activating a daemon for the first time, a config file, even if it is
9 # empty, has to be present *and* be owned by the user and group "frr", else
10 # the daemon will not be started by /etc/init.d/frr. The permissions should
11 # be u=rw,g=r,o=.
12 # When using "vtysh" such a config file is also needed. It should be owned by
13 # group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
14 #
15 # The watchfrr, zebra and staticd daemons are always started.
16 #
17 bgpd=no
18 ospfd=no
19 ospf6d=no
20 ripd=no
21 ripngd=no
22 isisd=no
23 pimd=no
24 pim6d=no
25 ldpd=no
26 nhrpd=no
27 eigrpd=no
28 babeld=no
29 sharpd=no
30 pbrd=no
31 bfdd=no
32 fabricd=no
33 vrrpd=no
34 pathd=no
35
36 #
37 # If this option is set the /etc/init.d/frr script automatically loads
38 # the config via "vtysh -b" when the servers are started.
39 # Check /etc/pam.d/frr if you intend to use "vtysh"!
40 #
41 vtysh_enable=yes
42 zebra_options=" -A 127.0.0.1 -s 90000000"
43 mgmtd_options=" -A 127.0.0.1"
44 bgpd_options=" -A 127.0.0.1"
45 ospfd_options=" -A 127.0.0.1"
46 ospf6d_options=" -A ::1"
47 ripd_options=" -A 127.0.0.1"
48 ripngd_options=" -A ::1"
49 isisd_options=" -A 127.0.0.1"
50 pimd_options=" -A 127.0.0.1"
51 pim6d_options=" -A ::1"
52 ldpd_options=" -A 127.0.0.1"
53 nhrpd_options=" -A 127.0.0.1"
54 eigrpd_options=" -A 127.0.0.1"
55 babeld_options=" -A 127.0.0.1"
56 sharpd_options=" -A 127.0.0.1"
57 pbrd_options=" -A 127.0.0.1"
58 staticd_options="-A 127.0.0.1"
59 bfdd_options=" -A 127.0.0.1"
60 fabricd_options="-A 127.0.0.1"
61 vrrpd_options=" -A 127.0.0.1"
62 pathd_options=" -A 127.0.0.1"
63
64
65 # If you want to pass a common option to all daemons, you can use the
66 # "frr_global_options" variable.
67 #
68 #frr_global_options=""
69
70
71 # The list of daemons to watch is automatically generated by the init script.
72 # This variable can be used to pass options to watchfrr that will be passed
73 # prior to the daemon list.
74 #
75 # To make watchfrr create/join the specified netns, add the the "--netns"
76 # option here. It will only have an effect in /etc/frr/<somename>/daemons, and
77 # you need to start FRR with "/usr/lib/frr/frrinit.sh start <somename>".
78 #
79 #watchfrr_options=""
80
81
82 # configuration profile
83 #
84 #frr_profile="traditional"
85 #frr_profile="datacenter"
86
87
88 # This is the maximum number of FD's that will be available. Upon startup this
89 # is read by the control files and ulimit is called. Uncomment and use a
90 # reasonable value for your setup if you are expecting a large number of peers
91 # in say BGP.
92 #
93 #MAX_FDS=1024
94
95 # Uncomment this option if you want to run FRR as a non-root user. Note that
96 # you should know what you are doing since most of the daemons need root
97 # to work. This could be useful if you want to run FRR in a container
98 # for instance.
99 # FRR_NO_ROOT="yes"
100
101 # For any daemon, you can specify a "wrap" command to start instead of starting
102 # the daemon directly. This will simply be prepended to the daemon invocation.
103 # These variables have the form daemon_wrap, where 'daemon' is the name of the
104 # daemon (the same pattern as the daemon_options variables).
105 #
106 # Note that when daemons are started, they are told to daemonize with the `-d`
107 # option. This has several implications. For one, the init script expects that
108 # when it invokes a daemon, the invocation returns immediately. If you add a
109 # wrap command here, it must comply with this expectation and daemonize as
110 # well, or the init script will never return. Furthermore, because daemons are
111 # themselves daemonized with -d, you must ensure that your wrapper command is
112 # capable of following child processes after a fork() if you need it to do so.
113 #
114 # If your desired wrapper does not support daemonization, you can wrap it with
115 # a utility program that daemonizes programs, such as 'daemonize'. An example
116 # of this might look like:
117 #
118 # bgpd_wrap="/usr/bin/daemonize /usr/bin/mywrapper"
119 #
120 # This is particularly useful for programs which record processes but lack
121 # daemonization options, such as perf and rr.
122 #
123 # If you wish to wrap all daemons in the same way, you may set the "all_wrap"
124 # variable.
125 #
126 #all_wrap=""