Guest User

Untitled

a guest
Oct 25th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. sudo systemctl start openvpn@work.service
  2.  
  3. sudo systemctl stop openvpn@work.service
  4.  
  5. journalctl -n 6 -u openvpn@work.service
  6.  
  7. 12:59:51 systemd[1]: Stopping OpenVPN connection to work...
  8. 13:01:21 systemd[1]: openvpn@work.service: State 'stop-sigterm' timed out. Killing.
  9. 13:01:21 systemd[1]: openvpn@work.service: Killing process 12379 (openvpn) with signal SIGKILL.
  10. 13:01:21 systemd[1]: openvpn@work.service: Main process exited, code=killed, status=9/KILL
  11. 13:01:21 systemd[1]: openvpn@work.service: Failed with result 'timeout'.
  12. 13:01:21 systemd[1]: Stopped OpenVPN connection to work.
  13.  
  14. ps ax -o command | grep --count '[o]penvpn'
  15. 35
  16.  
  17. ps ax -o stat,start,command | grep '[S]TAT|[o]penvpn'
  18. STAT STARTED COMMAND
  19. S Aug 21 /bin/bash /etc/openvpn/update-resolv-conf tun0 1500 1553 ... ... init
  20. S Aug 21 run-parts --arg=-a --arg=tun0.openvpn /etc/resolvconf/update.d
  21. ...
  22.  
  23. systemd-cgls -u openvpn@work.service | grep --count run-parts
  24. 34
  25. systemd-cgls -u openvpn@work.service | grep --count update-resolv-conf
  26. 17
Add Comment
Please, Sign In to add comment