Merge pull request #1 from jlu5/patch-1

Simplify wget instructions; use FHS compliant paths
This commit is contained in:
Kioubit 2021-12-27 12:02:59 -05:00 committed by GitHub
commit 4ddaa98351
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,19 +10,17 @@
## Installing & Updating
1) Download the latest release from the releases page and move the binary to the ``/urs/bin/`` directory under the filename ``pndpd``.
2) Allow executing the file by running ``chmod +x /usr/bin/pndpd``
1) Download the latest release from the releases page and move the binary to the ``/usr/local/bin/`` directory under the filename ``pndpd``.
2) Allow executing the file by running ``chmod +x /usr/local/bin/pndpd``
3) **For systemd users:** Install the service unit file
````
wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.service
mv pndpd.service /usr/lib/systemd/system/
wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.service -P /etc/systemd/system/
systemctl enable pndpd.service
````
4) Download and install the config file
````
wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.conf
mkdir -p /etc/pndpd/
mv pndpd.conf /etc/pndpd/
mkdir -p /etc/pndpd
wget https://raw.githubusercontent.com/Kioubit/pndpd/master/pndpd.conf -P /etc/pndpd/
````
5) Edit the config at ``/etc/pndpd/pndpd.conf`` and then start the service using ``service pndpd start``