From 78472fc8a0120126c55f78deedaa7a40b493b419 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 3 May 2017 07:06:20 -0400 Subject: [PATCH 1/2] doc: Fix systemd build instructions Fix the build/install instructions for Ubuntu 16.04 and systemd. Signed-off-by: Donald Sharp --- doc/Building_FRR_on_Ubuntu1604.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/doc/Building_FRR_on_Ubuntu1604.md b/doc/Building_FRR_on_Ubuntu1604.md index 327b7d68a0..f6d4b9826d 100644 --- a/doc/Building_FRR_on_Ubuntu1604.md +++ b/doc/Building_FRR_on_Ubuntu1604.md @@ -56,6 +56,7 @@ an example.) --enable-rtadv \ --enable-tcp-zebra \ --enable-fpm \ + --enable-systemd=yes \ --with-pkg-git-version \ --with-pkg-extra-version=-MyOwnFRRVersion make @@ -136,13 +137,8 @@ For example. isisd=yes ### Enable the systemd serivce -Edit `/etc/systemd/system/frr.service` and remove the line **OnFailure=heartbeat-failed@%n.service** -For example. + - systemctl enable frr - [Unit] - Description=Cumulus Linux FRR - After=syslog.target networking.service -     ### Start the systemd service - systemctl start frr - use `systemctl status frr` to check its status. From f5374e95dc49ec83acc63d3c4e46b32dedad60a1 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 3 May 2017 09:35:06 -0400 Subject: [PATCH 2/2] doc: Add systemd dev package to doc Add the systemd dev package to the list of items to install Signed-off-by: Donald Sharp --- doc/Building_FRR_on_Ubuntu1604.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Building_FRR_on_Ubuntu1604.md b/doc/Building_FRR_on_Ubuntu1604.md index f6d4b9826d..5715b70158 100644 --- a/doc/Building_FRR_on_Ubuntu1604.md +++ b/doc/Building_FRR_on_Ubuntu1604.md @@ -14,7 +14,7 @@ Add packages: apt-get install git autoconf automake libtool make gawk libreadline-dev \ texinfo dejagnu pkg-config libpam0g-dev libjson-c-dev bison flex \ - python-pytest libc-ares-dev python3-dev + python-pytest libc-ares-dev python3-dev libsystemd-dev Get FRR, compile it and install it (from Git) ---------------------------------------------