qubes-updates-proxy.service 555 B

12345678910111213141516
  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=iptables.service
  6. [Service]
  7. ExecStartPre=/usr/bin/install -d --owner tinyproxy --group tinyproxy /var/run/tinyproxy
  8. ExecStartPre=/usr/lib/qubes/iptables-updates-proxy start
  9. ExecStart=/usr/sbin/tinyproxy -d -c /etc/tinyproxy/tinyproxy-updates.conf
  10. ExecStopPost=/usr/lib/qubes/iptables-updates-proxy stop
  11. Restart=on-failure
  12. RestartSec=5s
  13. [Install]
  14. WantedBy=multi-user.target