diff options
Diffstat (limited to 'src/etc/systemd/system/hostapd@.service.d')
-rw-r--r-- | src/etc/systemd/system/hostapd@.service.d/override.conf | 7 |
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 |