## Copyright (C) 2017 - 2025 ENCRYPTED SUPPORT LLC <adrelanos@whonix.org>
## See the file COPYING for copying conditions.

[Unit]
Description=redirect 127.0.0.1:9050 to Whonix-Gateway in Qubes TemplateVM service
Documentation=https://github.com/Whonix/qubes-whonix
ConditionPathExists=/run/qubes/this-is-templatevm
After=qubes-sysinit.service
After=qubes-whonix-redirect-9050.socket
Requires=qubes-whonix-redirect-9050.socket

[Service]
## IP HARDCODED but only used in Qubes-Whonix. Not used in Non-Qubes-Whonix.
ExecStart=/usr/lib/systemd/systemd-socket-proxyd 10.152.152.10:9050
PrivateTmp=yes
