Add lokinet-dns-fix.service

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-05-24 21:08:50 -07:00
parent 04834f68c5
commit ad3b6269a7
No known key found for this signature in database
GPG Key ID: 555C902A34EC968F

View File

@ -0,0 +1,11 @@
[Unit]
Description=Fix DNS for Lokinet
After=qubes-network-uplink.service
[Service]
Type=oneshot
ExecStart=/usr/bin/rm /etc/resolv.conf
ExecStart=/usr/bin/ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
[Install]
WantedBy=multi-user.target