Merge pull request #447 from donaldsharp/moobot

doc: Fix systemd build instructions
This commit is contained in:
Martin Winter 2017-05-05 17:51:18 -07:00 committed by GitHub
commit 8c297bf183

View File

@ -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)
---------------------------------------------
@ -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.