From 8b351548b8d06a03c7699347cdf8d7a4ec131fad Mon Sep 17 00:00:00 2001 From: Struan Bartlett Date: Sat, 7 May 2022 10:29:29 +0100 Subject: [PATCH] Add instructions for installing the example systemd unit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0295722..501d488 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,10 @@ Usage: ./docker-ingress-routing-daemon [--install [OPTIONS] | --uninstall | --he multiple times) ``` +#### Installing using systemd + +To install via systemd, please see the example systemd unit at `etc/systemd/system/dind.service`, which should be copied to `/etc/systemd/system` or `/usr/local/lib/systemd/system` (according to your distribution), and modified to reflect your required arguments. As normal when installing a new systemd unit, run `systemctl daemon-reload`, then enable the unit by running `systemctl enable dind` and if needed start the unit by running `systemctl start dind`. + ### Uninstalling iptables rules Run `docker-ingress-routing-daemon --uninstall` on each node.