Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The output of this command:
- systemctl --type=service --state=active list-units
- gives these entries.
- openvpn.service loaded active exited OpenVPN service
- [email protected] loaded active running OpenVPN connection to es10.nordvpn.com.udp1194
- [email protected] loaded active running OpenVPN connection to es14.nordvpn.com.udp1194
- I only have one systemd service in the /etc/systemd/system/ folder, which is like this:
- <filename: [email protected] >
- ---------------------------------------------------
- [Unit]
- Description=OpenVPN connection to %i
- PartOf=openvpn.service
- ReloadPropagatedFrom=openvpn.service
- Before=systemd-user-sessions.service
- [Service]
- Type=forking
- ExecStart=/usr/sbin/openvpn --cd /etc/openvpn --config /etc/openvpn/nl64.nordvpn.com.udp1194.ovpn --daemon [email protected]
- ExecReload=/bin/kill -HUP $MAINPID
- WorkingDirectory=/etc/openvpn
- ExecStartPre=/etc/openvpn/openvpn-routes-up.sh
- ExecStopPost=/etc/openvpn/openvpn-routes.sh
- [Install]
- WantedBy=multi-user.target
- ---------------------------------------------------
- I've tried disabling and stop all services by name and this works until next boot.
- I'm not sure what could be causing these services to get started. Is there anything else I should look at?
Advertisement
Add Comment
Please, Sign In to add comment