On Wed 2019-01-09 22:57:03 -0500, Daniel Kahn Gillmor wrote:
> Please either drop Type=forking, or pass -B.  Of those too choices, i
> think it's better to pass -B on the command line, so that the daemon
> has some mechanism of indicating readiness to systemd (detaching and
> moving to the background).

the 3-line file below represents my workaround for this (the empty
ExecStart= effectively clears the command so that the second ExecStart=
is the only remaining one):



    0 root@host:~# cat /etc/systemd/system/hostapd@.service.d/override.conf 
    [Service]
    ExecStart=
    ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.%i.pid $DAEMON_OPTS 
/etc/hostapd/%i.conf
    0 root@host:~# 


hope this helps other people who might run into the issue!

     --dkg

Reply via email to