Skip to content

Commit

Permalink
Add instructions for installing the example systemd unit
Browse files Browse the repository at this point in the history
  • Loading branch information
struanb authored May 7, 2022
1 parent 7a9dfa2 commit 8b35154
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8b35154

Please sign in to comment.