Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo systemctl start openvpn@work.service
- sudo systemctl stop openvpn@work.service
- journalctl -n 6 -u openvpn@work.service
- 12:59:51 systemd[1]: Stopping OpenVPN connection to work...
- 13:01:21 systemd[1]: openvpn@work.service: State 'stop-sigterm' timed out. Killing.
- 13:01:21 systemd[1]: openvpn@work.service: Killing process 12379 (openvpn) with signal SIGKILL.
- 13:01:21 systemd[1]: openvpn@work.service: Main process exited, code=killed, status=9/KILL
- 13:01:21 systemd[1]: openvpn@work.service: Failed with result 'timeout'.
- 13:01:21 systemd[1]: Stopped OpenVPN connection to work.
- ps ax -o command | grep --count '[o]penvpn'
- 35
- ps ax -o stat,start,command | grep '[S]TAT|[o]penvpn'
- STAT STARTED COMMAND
- S Aug 21 /bin/bash /etc/openvpn/update-resolv-conf tun0 1500 1553 ... ... init
- S Aug 21 run-parts --arg=-a --arg=tun0.openvpn /etc/resolvconf/update.d
- ...
- systemd-cgls -u openvpn@work.service | grep --count run-parts
- 34
- systemd-cgls -u openvpn@work.service | grep --count update-resolv-conf
- 17
Add Comment
Please, Sign In to add comment