--- /etc/systemd/system/lighttpd.service.old 2017-10-05 23:43:25.298536815 +0300 +++ /etc/systemd/system/lighttpd.service 2017-10-05 23:41:03.795286530 +0300 @@ -5,6 +5,9 @@ [Service] ExecStartPre=/usr/sbin/lighttpd -t -f /etc/lighttpd/lighttpd.conf ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf +KillMode=mixed +KillSignal=SIGINT +TimeoutStopSec=60 [Install] WantedBy=multi-user.target