Skip to main content
Topic: Using systemD based cleints in Artix (Read 746 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Using systemD based cleints in Artix

I used to use systemD's systemctl for my VPN client.
My question is, what would be the equivalent of `systemctl start [client]` under s6?
I tried `sudo s6-rc -u change [client]`, but got `s6-rc: fatal: [client] is not a recognized identifier in /run/s6-rc/state/resolve.cdb`
What do I do from here besides read the Wiki more in depth? I'm in a bit of a hurry, is all

Re: Using systemD based cleints in Artix

Reply #1
As I know S6 does not have something similar by default. If you write a s6 script you might achieve something similar.

You said vpn but I don't know what, so I will assume you are using openvpn. Another solution, the one i applied, could be using openvpn with Networkmanager and it works very good. I followed these steps.

Best regards.

Artix Linux Colombia

Re: Using systemD based cleints in Artix

Reply #2
I don't know how exactly you setup your vpn, but probably the simpliest way is to just use openvpn. If you already have openvpn configured to your needs, you can just install openvpn-s6 and then use s6-rc -u change openvpn and that should get you going.

 

Re: Using systemD based cleints in Artix

Reply #3
Alright, thanks. I'll see what I can do through OpenVPN