Files
vanlink/ap/hostapd-2g.service

16 lines
500 B
Desktop File

[Unit]
Description=VanLink 2.4GHz AP (hostapd on @WIFI_2G_IFACE@ — see /etc/vanlink.conf for current hardware)
# Same USB re-enumeration hazards as the 5GHz AP (see hostapd-restart.conf for the
# full story): never stop retrying, and back off a few seconds so the USB device can
# re-enumerate before the next attempt.
StartLimitIntervalSec=0
After=network.target
[Service]
ExecStart=/usr/sbin/hostapd /etc/hostapd/hostapd-2g.conf
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target