diff options
author | Hung-Wei Chiu <hwchiu@users.noreply.github.com> | 2017-04-27 17:14:23 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-02 21:23:38 +0200 |
commit | 6aebd5f532683a5761f51b1cf0f038637cdca5aa (patch) | |
tree | 8c1cb3ac02f32d9912cfd0e5d7ba399bd279de73 /doc | |
parent | Merge pull request #440 from donaldsharp/afi_safi3 (diff) | |
download | frr-6aebd5f532683a5761f51b1cf0f038637cdca5aa.tar.xz frr-6aebd5f532683a5761f51b1cf0f038637cdca5aa.zip |
Update 14.04 docs to support init.d service
1. Configure the prefix to /usr (frr script hard-code those path in /etc/init.d/frr)
2. Install the service file to /etc/init.d
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Building_FRR_on_Ubuntu1404.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/Building_FRR_on_Ubuntu1404.md b/doc/Building_FRR_on_Ubuntu1404.md index 5da423aff..2c5f132ad 100644 --- a/doc/Building_FRR_on_Ubuntu1404.md +++ b/doc/Building_FRR_on_Ubuntu1404.md @@ -37,6 +37,7 @@ an example.) cd frr ./bootstrap.sh ./configure \ + --prefix=/usr \ --enable-exampledir=/usr/share/doc/frr/examples/ \ --localstatedir=/var/run/frr \ --sbindir=/usr/lib/frr \ @@ -91,3 +92,29 @@ other settings) net.ipv6.conf.all.forwarding=1 **Reboot** or use `sysctl -p` to apply the same config to the running system +### Install the init.d service + + sudo install -m 755 tools/frr /etc/init.d/frr + sudo install -m 644 cumulus/etc/frr/daemons /etc/frr/daemons + sudo install -m 644 cumulus/etc/frr/debian.conf /etc/frr/debian.conf + sudo install -m 644 -o frr -g frr cumulus/etc/frr/vtysh.conf /etc/frr/vtysh.conf + + +### Enable daemons + +Edit `/etc/frr/daemons` and change the value from "no" to "yes" for those daemons you want to start by systemd. +For example. + + zebra=yes + bgpd=yes + ospfd=yes + ospf6d=yes + ripd=yes + ripngd=yes + isisd=yes + +### Start the init.d service +- /etc/init.d/frr start +- use `/etc/init.d/frr status` to check its status. + + |