Re: Debugging a LSB init script under systemd

2015-07-09 Thread Stuart Longland
Hi Reco, On 09/07/15 16:43, Reco wrote: >> > Is there a way to tell systemd to LEAVE the script alone while I debug >> > it and get it working? > Yes. Setting _SYSTEMCTL_SKIP_REDIRECT environment variable to any value > should allow you to run it directly. Ahh, that's EXACTLY what I needed. Thank

Re: Debugging a LSB init script under systemd

2015-07-09 Thread Reco
Hi. On Thu, 09 Jul 2015 14:37:52 +1000 Stuart Longland wrote: > Hi all, > > Is there any way to debug a LSB init script under systemd? I'm trying > to write an init script for a service that starts multiple daemons, much > like OpenVPN and how it starts a separate daemon for each connection.

Debugging a LSB init script under systemd

2015-07-08 Thread Stuart Longland
Hi all, Is there any way to debug a LSB init script under systemd? I'm trying to write an init script for a service that starts multiple daemons, much like OpenVPN and how it starts a separate daemon for each connection. So I've taken the OpenVPN init script and hacked it to make it do what I wa