polipo: create required dirs/files and set perms.

This commit is contained in:
Juan RP 2012-12-11 16:41:05 +01:00
parent fc6ad3fee8
commit 82384e9074
3 changed files with 9 additions and 2 deletions

7
srcpkgs/polipo/INSTALL Normal file
View File

@ -0,0 +1,7 @@
case "${ACTION}" in
post)
touch -f var/log/polipo.log 2>/dev/null
install -d var/cache/polipo
chown -R nobody:nogroup var/cache/polipo var/log/polipo.log
;;
esac

View File

@ -4,7 +4,7 @@ After=network.target
[Service]
Type=forking
ExecStart=/usr/bin/polipo daemonise=true
ExecStart=/usr/bin/polipo daemonise=true logFile="/var/log/polipo.log"
User=nobody
[Install]

View File

@ -1,7 +1,7 @@
# Template file for 'polipo'
pkgname=polipo
version=1.0.4.1
revision=1
revision=2
short_desc="A small and fast caching web proxy"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"