You are not logged in.

#1 2020-07-05 05:40:23

enigmatic_jihad
Member
Registered: 2020-04-14
Posts: 26

VPN run_watch in i3status

I have

order += "run_watch VPN"

in my i3status configuration. And

run_watch VPN {
    pidfile = "/var/run/vpnc/pid"
}

I'm using nordvpn, and there is no pid file in that directory. Can you help me to watch nordvpn there?

Offline

#2 2020-07-05 06:18:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: VPN run_watch in i3status

Read the service file and see where it is actually writing the PID file, and then use that path.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-07-06 10:26:10

enigmatic_jihad
Member
Registered: 2020-04-14
Posts: 26

Re: VPN run_watch in i3status

jasonwryan wrote:

Read the service file and see where it is actually writing the PID file, and then use that path.

I search on internet and the default conf says nothing. I tried to find it with

locate "*.pid"

, but there is no PID file.

Offline

Board footer

Powered by FluxBB