qubes-yum-proxy.service 480 B

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