monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit and VPNC


From: SZÉPE Viktor
Subject: Re: Monit and VPNC
Date: Wed, 06 May 2020 20:09:38 +0200
User-agent: Horde Application Framework 5

Idézem/Quoting Patrick Baldwin <address@hidden>:

I verified the full path to VPNC:

12$ which vpnc

/usr/sbin/vpnc

Since VPNC doesn't make a pidfile, I created a wrapper script:

You must have a hard time battling with a nearly one decade-old software.

vpnc has a --pid-file option
see https://svn.unix-ag.uni-kl.de/vpnc/trunk/config.c

"store the pid of background process in <filename>"

If your goal is sustainability you must write a proper sysvinit/systemd init file
with process management, logging etc.

See for example https://github.com/mgorny/vpnc

I could help you write a sysvinit script.

All the best to you!


SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
~~~
ügyelet/hotline: +36-20-4242498  address@hidden  skype: szepe.viktor
Budapest, III. kerület




Attachment: smime.p7s
Description: S/MIME Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]