![]() |
How do I get my VPN-daemon to run in the background? - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Java, JVM, & JRE (https://sinister.ly/Forum-Java-JVM-JRE) +--- Thread: How do I get my VPN-daemon to run in the background? (/Thread-How-do-I-get-my-VPN-daemon-to-run-in-the-background) |
How do I get my VPN-daemon to run in the background? - d4ggm4sk - 05-01-2021 I have a VPN but every time I start my computer, I first have to run a VPN-daemon in terminal by starting it manually. I wonder if there is any way that I can have this process run as a background process automatically when I start my computer? A docker daemon? Is it called that? Thankful for help and advice. ![]() RE: How do I get my VPN-daemon to run in the background? - piotro1410 - 05-01-2021 https://github.com/adrienverge/openfortivpn/issues/594 https://askubuntu.com/questions/868088/how-can-i-run-openvpn-as-root-in-the-background-in-a-script RE: How do I get my VPN-daemon to run in the background? - mothered - 05-01-2021 Which VPN are you referring to, and what OS are you specifically running? RE: How do I get my VPN-daemon to run in the background? - d4ggm4sk - 05-02-2021 (05-01-2021, 04:51 PM)mothered Wrote: Which VPN are you referring to, and what OS are you specifically running? Blackarch, Mullvad VPN. RE: How do I get my VPN-daemon to run in the background? - mothered - 05-02-2021 (05-02-2021, 03:34 PM)poi$on ivy Wrote: Blackarch, Mullvad VPN.Does the VPN Itself have a toggle button to enable the "Launch app on start-up" setting? RE: How do I get my VPN-daemon to run in the background? - d4ggm4sk - 05-02-2021 (05-02-2021, 04:54 PM)mothered Wrote:Yeah. Does that have anything to do with the VPN-daemon tho?(05-02-2021, 03:34 PM)poi$on ivy Wrote: Blackarch, Mullvad VPN.Does the VPN Itself have a toggle button to enable the "Launch app on start-up" setting? RE: How do I get my VPN-daemon to run in the background? - Equinox - 05-02-2021 (05-02-2021, 03:34 PM)poi$on ivy Wrote:(05-01-2021, 04:51 PM)mothered Wrote: Which VPN are you referring to, and what OS are you specifically running? If you’ve properly configured it, you can enable the daemon using systemctl if you’re using systemd as pid 1. Code: sudo systemctl enable mullvad.service That’s assuming proper configuration, of course. Refer to the arch wiki page for mullvad for more information or configuration. https://wiki.archlinux.org/title/Mullvad#Using_systemd If you’re on blackarch the chances are you’re using systemd as pid 1 since it’s arch based. RE: How do I get my VPN-daemon to run in the background? - mothered - 05-03-2021 (05-02-2021, 07:07 PM)poi$on ivy Wrote: Yeah. Does that have anything to do with the VPN-daemon tho?@"Equinox" has you covered. Please reply whether It's fixed the Issue. RE: How do I get my VPN-daemon to run in the background? - d4ggm4sk - 05-03-2021 (05-02-2021, 09:55 PM)Equinox Wrote:(05-02-2021, 03:34 PM)poi$on ivy Wrote:(05-01-2021, 04:51 PM)mothered Wrote: Which VPN are you referring to, and what OS are you specifically running? I tried exactly that command, but itdidnt work. And it said "systemctl mullvadVPN-service does not exist" or something. Also, I currently have to run the daemon in a terminal window manually, and restart it every time I close the lid. And if I dont have the daemon + VPN running, the internet isnt going to work. And I want to have it running all the time, connect automatically etc. But its the daemon I have to get running. I'll try that command later ![]() RE: How do I get my VPN-daemon to run in the background? - Equinox - 05-03-2021 (05-03-2021, 11:11 AM)poi$on ivy Wrote: And I want to have it running all the time, connect automatically etc. But its the daemon I have to get running. I'll try that command later The command I gave you is what enables the daemon. Since it says the service doesn’t exist though, you haven’t created it. You need to create the service unit for systemd to find, and target a specific runtime. Another unit target could also be mullvad-daemon, so try that too Code: sudo systemctl enable mullvad-daemon |