2014-09-27 00:11:10 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Qubes updates proxy (tinyproxy)
|
|
|
|
ConditionPathExists=|/var/run/qubes-service/qubes-yum-proxy
|
|
|
|
ConditionPathExists=|/var/run/qubes-service/qubes-updates-proxy
|
2015-08-04 17:15:01 +02:00
|
|
|
After=qubes-iptables.service
|
2014-09-27 00:11:10 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
ExecStartPre=/usr/bin/install -d --owner tinyproxy --group tinyproxy /var/run/tinyproxy
|
|
|
|
ExecStartPre=/usr/lib/qubes/iptables-updates-proxy start
|
|
|
|
ExecStart=/usr/sbin/tinyproxy -d -c /etc/tinyproxy/tinyproxy-updates.conf
|
|
|
|
ExecStopPost=/usr/lib/qubes/iptables-updates-proxy stop
|
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|