[FS#859] OpenVPN is beeing killed with "service openvpn stop" due to short timeout

LEDE Bugs lede-bugs at lists.infradead.org
Tue Jun 20 09:30:32 PDT 2017


The following task has a new comment added:

FS#859 - OpenVPN is beeing killed with "service openvpn stop" due to short timeout
User who did this - helgadeville (helgadeville)

----------
It takes around 5 seconds, there are no complex teardown scripts, just one sending echo 0 > brightness to led.
I have resolved this problem on my device using a patch for /etc/init.d/openvpn script (attached), which adds term_timeout parameter to service instance, but this is a part of the problem: another problem is, that /lib/functions/procd.sh ignores term_timeout parameter, so I filed another bug report (see link) and added a small patch for procd.sh script.
Those 2 patches make my installation work as expected with no further workarounds. 
----------

One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=859#comment2823



More information about the lede-bugs mailing list