mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-12-28 02:50:20 +05:30
Pranav Jerry
1d2d4b2d88
Looks like issue #3 is fixed. Added an AUR package to the README. Fixed another bug related to linking resolv.conf (I didn't know Path.exsts() checks the destination if Path was a symlink). Changed how it deals with resolv.conf if it is a symlink or normal files. Also, added a 'RestartSec=5sec' to the systemd service.
25 lines
566 B
Desktop File
25 lines
566 B
Desktop File
[Unit]
|
|
Description=Naxalnet
|
|
Requires=systemd-networkd.service
|
|
Requires=iwd.service
|
|
Wants=systemd-resolved.service
|
|
Before=systemd-networkd.service
|
|
After=iwd.service
|
|
|
|
# Stops NetworkManager and wpa_supplicant if already running
|
|
Conflicts=NetworkManager.service
|
|
Conflicts=wpa_supplicant.service
|
|
After=NetworkManager.service
|
|
After=wpa_supplicant.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
# Temporary (maybe permanent) fix to aborting after changing to ad-hoc
|
|
Restart=on-failure
|
|
RestartSec=5sec
|
|
ExecStart=/usr/bin/naxalnet
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|