remove ipfs url from README.md

I don't use IPFS anymore. If anyone if willing to maintain a copy of
this repo on ipfs, send me an email.

Small change in CHANGELOG, and edited comments in systemd service.
And added a docstring to setup.py so the editor won't complain of
missing docstring anymore.
This commit is contained in:
Pranav Jerry 2021-09-10 11:42:18 +05:30
parent f9c969d233
commit 2a8930ce00
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B
6 changed files with 11 additions and 13 deletions

View File

@ -1,12 +1,12 @@
# Changelog # Changelog
## [Unreleased][] - 2021-09-07 ## [Unreleased][] - 2021-09-09
- naxalnet is now a daemon! naxalnet will reconfigure the WiFi network - naxalnet is now a daemon! naxalnet will reconfigure the WiFi network
every time a WiFi adapter is plugged in or removed every time a WiFi adapter is plugged in or removed
- **Logging**: logs to systemd journal when run from systemd, stderr - **Logging**: logs to systemd journal when run from systemd, stderr
otherwise otherwise
- New dependency `python3-systemd` - New dependency `python-systemd`
- Fixed dependency order in systemd service - Fixed dependency order in systemd service
- Added `--verbose` argument - Added `--verbose` argument

View File

@ -16,7 +16,7 @@ install: build
uninstall: uninstall:
$(PIP) uninstall -y naxalnet $(PIP) uninstall -y naxalnet
rm -rf /usr/share/naxalnet /usr/lib/systemd/system/naxalnet.service rm -rf /usr/share/naxalnet /usr/lib/systemd/system/naxalnet.service
@-test -d /etc/naxalnet && echo "The directory /etc/naxalnet was not removed." && \ @echo "The directory /etc/naxalnet was not removed." && \
echo "Do 'sudo make purge' to remove it." echo "Do 'sudo make purge' to remove it."
# remove config files, like apt purge # remove config files, like apt purge

View File

@ -116,12 +116,6 @@ git clone https://git.disroot.org/pranav/naxalnet.git
cd naxalnet cd naxalnet
``` ```
Or, if you have an [IPFS client][ipfs] running, try this instead:
```sh
git clone http://k51qzi5uqu5dlye74be0n9iihwk6sm54vexo7bf7pdr4w811y6mmrcp25djozv.ipns.localhost:8080/naxalnet.git
```
Now, build and install naxalnet: Now, build and install naxalnet:
```sh ```sh

View File

@ -18,5 +18,6 @@ name = NxMesh
[ap] [ap]
# An AP is started if your machine has more than one WiFi adapter. # An AP is started if your machine has more than one WiFi adapter.
ssid = MeshWiFi ssid = MeshWiFi
# Note the spelling. It's passwd, not password.
passwd = naxalnet256 passwd = naxalnet256

View File

@ -22,11 +22,12 @@ NotifyAccess=all
Restart=on-failure Restart=on-failure
RestartSec=2sec RestartSec=2sec
ExecStart=/usr/bin/naxalnet --systemd ExecStart=/usr/bin/naxalnet --systemd
# Reload systemd-networkd after naxalnet exits # Reload systemd-networkd after naxalnet signals it is ready
ExecStartPost=/usr/bin/networkctl reload ExecStartPost=/usr/bin/networkctl reload
# Delete all files starting with mesh.* in /run/systemd/network # When naxalnet exits, delete all files starting
# with mesh.* in /run/systemd/network
ExecStopPost=/usr/bin/find /run/systemd/network -type f -delete -name "mesh.*" ExecStopPost=/usr/bin/find /run/systemd/network -type f -delete -name "mesh.*"
# Delete the interfaces created... # Then delete the two interfaces created...
ExecStopPost=/usr/bin/networkctl delete bridge0 bat0 ExecStopPost=/usr/bin/networkctl delete bridge0 bat0
# ... and reload the configuration files. # ... and reload the configuration files.
ExecStopPost=/usr/bin/networkctl reload ExecStopPost=/usr/bin/networkctl reload

View File

@ -1,5 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
"""
See setup.py --help for usage
"""
from setuptools import setup from setuptools import setup
setup() setup()