Re: Monit and VPNC
SZÉPE Viktor <[email protected]>
| Newsgroups | gmane.comp.monitoring.monit.general |
|---|---|
| Message-ID | <[email protected]> |
Idézem/Quoting Patrick Baldwin <[email protected]>: > 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 [email protected] skype: szepe.viktor Budapest, III. kerület
smime.p7s
(application/pkcs7-signature, 5 KB) - not displayed