Artix Linux Forum

Artix Linux => Installation / Migration / Configuration => Topic started by: xqtha2276 on 03 September 2020, 08:43:38

Title: Using systemD based cleints in Artix
Post by: xqtha2276 on 03 September 2020, 08:43:38
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
Title: Re: Using systemD based cleints in Artix
Post by: jrballesteros05 on 03 September 2020, 12:38:20
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 (https://www.cyberciti.biz/faq/linux-import-openvpn-ovpn-file-with-networkmanager-commandline/) steps.

Best regards.

Title: Re: Using systemD based cleints in Artix
Post by: Dudemanguy on 03 September 2020, 14:58:49
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.
Title: Re: Using systemD based cleints in Artix
Post by: xqtha2276 on 03 September 2020, 18:20:35
Alright, thanks. I'll see what I can do through OpenVPN