polipo: create required dirs/files and set perms.
This commit is contained in:
parent
fc6ad3fee8
commit
82384e9074
|
@ -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
|
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue