[Unit]
Description=Tinyproxy, Lightweight http(s) proxy daemon
RequiresMountsFor=/var

[Service]
Group=tinyproxy
ExecStartPre=/bin/mkdir -p /var/log/tinyproxy
ExecStartPre=/bin/chown -R nobody.tinyproxy /var/log/tinyproxy
ExecStartPre=/bin/mkdir -p /var/run/tinyproxy
ExecStartPre=/bin/chown -R nobody.tinyproxy /var/run/tinyproxy
ExecStart=/usr/sbin/tinyproxy -d

[Install]
WantedBy=multi-user.target
