From 9fd15ce5c60d6c5074d3c374a4049a194b8c17ca Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 23 Aug 2020 12:25:16 +0200 Subject: 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). --- src/etc/systemd/system/hostapd@.service.d/override.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/etc/systemd/system/hostapd@.service.d/override.conf') 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 -- cgit v1.2.3