Skip to content

Commit

Permalink
Merge pull request #11 from BuonHobo/main
Browse files Browse the repository at this point in the history
Workaround for "Cannot start FRR on Fedora and Arch using kathara/frr image"
  • Loading branch information
Skazza94 authored Nov 21, 2023
2 parents 1b65b88 + da888d4 commit 202b97c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ RUN sed -i -e 's/service/no service/' /etc/frr/vtysh.conf \

RUN apt clean && \
rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/*

COPY su_frr.conf /etc/systemd/system/frr.service.d/su_frr.conf
7 changes: 7 additions & 0 deletions frr/su_frr.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Service]
ExecStart=
ExecStop=
ExecReload=
ExecStart=/usr/bin/su -c "/usr/lib/frr/frrinit.sh start"
ExecStop=/usr/bin/su -c "/usr/lib/frr/frrinit.sh stop"
ExecReload=/usr/bin/su -c "/usr/lib/frr/frrinit.sh reload"

0 comments on commit 202b97c

Please sign in to comment.