mirror of
https://git.disroot.org/pranav/pybatmesh.git
synced 2024-11-27 01:02:15 +05:30
Pranav Jerry
e28a0f7583
Fixed permissions in install lines in Makefile. The systemd service now stops NetworkManager and wpa_supplicant before starting naxalnet. It also starts systemd-{networkd,resolved} and iwd alongside naxalnet.service.
22 lines
460 B
Desktop File
22 lines
460 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
|
|
ExecStart=/usr/bin/naxalnet
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|