15 lines
458 B
Django/Jinja
15 lines
458 B
Django/Jinja
[Unit]
|
|
Description=RaspAP Service Daemon
|
|
DefaultDependencies=no
|
|
# This line, which the default raspapd.service would use, results in a circular dependency
|
|
# And the symptom we see is that it doesn't boot. Instead, run this after network.target
|
|
# After=multi-user.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/bash /etc/raspap/hostapd/servicestart.sh --interface uap0 --seconds 3
|
|
RemainAfterExit=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|