From 3491a47811cd29875b8b3f0a138f4bfa5c262c9a Mon Sep 17 00:00:00 2001 From: Kioubit Date: Sat, 25 Dec 2021 08:29:57 -0500 Subject: [PATCH] Add installation instructions --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c94a2ef..6c3d6a1 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,24 @@ - Optionally determine whitelist automatically based on the IPs assigned to the interfaces - Permissions required: root or CAP_NET_RAW -## Usage +## Installing & Updating + +1) Download the latest release from the releases page and move the binary to the ``/urs/bin/`` +2) For systemd users: Install the service +```` +wget https://git.dn42.dev/Kioubit/Pndpd/src/branch/master/pndpd.service +mv pndpd.service /usr/lib/systemd/system/ +systemctl enable pndpd.service +```` +3) Download and install the config file +```` +wget https://git.dn42.dev/Kioubit/Pndpd/src/branch/master/pndpd.conf +mkdir -p /etc/pndpd/ +mv pndpd.conf /etc/pndpd/ +```` +4) Edit the config at ``/etc/pndpd/pndpd.conf`` and then start the service using ``service pndpd start`` + +## Manual Usage ```` pndpd config pndpd respond