qubes-updates-proxy.service 473 B

123456789101112131415
  1. [Unit]
  2. Description=Qubes updates proxy (tinyproxy)
  3. ConditionPathExists=|/var/run/qubes-service/qubes-yum-proxy
  4. ConditionPathExists=|/var/run/qubes-service/qubes-updates-proxy
  5. After=qubes-iptables.service
  6. [Service]
  7. ExecStartPre=/usr/lib/qubes/iptables-updates-proxy start
  8. ExecStart=/usr/sbin/tinyproxy -d -c /etc/tinyproxy/tinyproxy-updates.conf
  9. ExecStopPost=/usr/lib/qubes/iptables-updates-proxy stop
  10. Restart=on-failure
  11. RestartSec=5s
  12. [Install]
  13. WantedBy=multi-user.target