2012-05-31 02:24:49 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Qubes yum proxy (tinyproxy)
|
|
|
|
ConditionPathExists=/var/run/qubes-service/qubes-yum-proxy
|
|
|
|
After=iptables.service
|
|
|
|
|
|
|
|
[Service]
|
2012-05-31 02:33:56 +02:00
|
|
|
ExecStartPre=/usr/bin/install -d --owner tinyproxy --group tinyproxy /var/run/tinyproxy
|
2013-08-05 02:08:52 +02:00
|
|
|
ExecStartPre=/usr/lib/qubes/iptables-yum-proxy start
|
2012-05-31 02:24:49 +02:00
|
|
|
ExecStart=/usr/sbin/tinyproxy -d -c /etc/tinyproxy/tinyproxy-qubes-yum.conf
|
2013-08-05 02:08:52 +02:00
|
|
|
ExecStopPost=/usr/lib/qubes/iptables-yum-proxy stop
|
2014-02-21 13:30:07 +01:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=5s
|
2012-05-31 02:24:49 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|