Artix Linux Forum

Init systems => runit => Topic started by: julianmarcos on 17 November 2020, 15:23:36

Title: [SOLVED] How i can use wireguard
Post by: julianmarcos on 17 November 2020, 15:23:36
In the repos there is no wireguard-runnit but there is wireguard-s6 && wireguard-openrc
How i can use wireguard on runit if there is not a package
Title: Re: How i can use wireguard
Post by: ndowens on 17 November 2020, 19:06:44
Don’t actually need a script. Simple as wg-quick up INTERFACE(example wg0)
As root or sudo, do :
mkdir /etc/runit/sv/wireguard
and the files listed https://github.com/void-linux/void-packages/tree/2d45451722680d73772617fda25990bd30c147c2/srcpkgs/wireguard-tools/files/wireguard ; that is it
Title: Re: How i can use wireguard
Post by: linuxer on 17 November 2020, 23:02:20
@konimex may add this as a service
Title: Re: How i can use wireguard
Post by: konimex on 18 November 2020, 01:15:44
The package has been added here (https://gitea.artixlinux.org/packagesW/wireguard-runit).
Title: Re: How i can use wireguard
Post by: julianmarcos on 19 November 2020, 17:25:56
Thanks it now works