Make all templates local, ensure ssh keys for amd64 builds are generated on first boot
This commit is contained in:
parent
0fa18af48e
commit
c22e6ed557
14 changed files with 459 additions and 59 deletions
15
ansible/templates/raspapd.service.j2
Normal file
15
ansible/templates/raspapd.service.j2
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[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
|
||||
Loading…
Add table
Add a link
Reference in a new issue