summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/hostapd@.service.d/override.conf
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-23 12:25:16 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-23 12:25:16 +0200
commit9fd15ce5c60d6c5074d3c374a4049a194b8c17ca (patch)
tree043395c740125dcb8c3fb5b4ee8155d6a9fc5b70 /src/etc/systemd/system/hostapd@.service.d/override.conf
parent1748ce9ca2d50e931c94d50116198365f59e5c8b (diff)
downloadvyos-1x-9fd15ce5c60d6c5074d3c374a4049a194b8c17ca.tar.gz
vyos-1x-9fd15ce5c60d6c5074d3c374a4049a194b8c17ca.zip
hostapd: T2564: bugfix on daemon startup
Commit b082a6fb21 ("lcd: T2564: flatten CLI interface") by accident replaced the template for hostapd which an LCD configuration during implementation of T2564. This has been corrected by restoring the content of the service configuration from commit 8efb8ba1e (one commit earlier).
Diffstat (limited to 'src/etc/systemd/system/hostapd@.service.d/override.conf')
-rw-r--r--src/etc/systemd/system/hostapd@.service.d/override.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/etc/systemd/system/hostapd@.service.d/override.conf b/src/etc/systemd/system/hostapd@.service.d/override.conf
index b03dbc299..bb8e81d7a 100644
--- a/src/etc/systemd/system/hostapd@.service.d/override.conf
+++ b/src/etc/systemd/system/hostapd@.service.d/override.conf
@@ -3,7 +3,8 @@ After=
After=vyos-router.service
[Service]
-WorkingDirectory=/run/LCDd
+WorkingDirectory=/run/hostapd
+EnvironmentFile=
ExecStart=
-ExecStart=/usr/sbin/LCDd -s 1 -f -c /run/LCDd/LCDd.conf
-
+ExecStart=/usr/sbin/hostapd -B -P /run/hostapd/%i.pid /run/hostapd/%i.conf
+PIDFile=/run/hostapd/%i.pid