Artix Linux Forum

Init systems => runit => Topic started by: wastelander on 02 December 2023, 15:58:09

Title: [SOLVED] can't get rid of OpenVPN service output in tty
Post by: wastelander on 02 December 2023, 15:58:09
I have enabled the openvpn runit service, but at boot time the console is flooded by the service output and I can't even see my login prompt (i am not using any DM). I have tried to use the fix that I found elsewhere in this section, that is appending 2>/dev/null to the command in the run file:
Code: [Select]
#!/bin/sh
[ -r conf ] && . ./conf
exec openvpn --config ${CONF_FILE:=/etc/openvpn/openvpn.conf} 2>/dev/null
however it didn't work.
Title: Re: can't get rid of OpenVPN service output in tty
Post by: wastelander on 07 December 2023, 18:30:37
Ok. I think I am closer to the solution, but still needing help. I noticed that the service doesn't have a log folder. So maybe such a folder should be added with a run file. But I'm not sure wether this run file should have something like 
Code: [Select]
exec svlogd -tt /var/log/openvpn
  or
Code: [Select]
exec logger -t openvpn
Title: Re: can't get rid of OpenVPN service output in tty
Post by: wastelander on 08 December 2023, 16:03:32
Fixed with the latest build, thanks