polipo: create required dirs/files and set perms.
This commit is contained in:
parent
fc6ad3fee8
commit
82384e9074
3 changed files with 9 additions and 2 deletions
7
srcpkgs/polipo/INSTALL
Normal file
7
srcpkgs/polipo/INSTALL
Normal 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
|
|
@ -4,7 +4,7 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/polipo daemonise=true
|
ExecStart=/usr/bin/polipo daemonise=true logFile="/var/log/polipo.log"
|
||||||
User=nobody
|
User=nobody
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'polipo'
|
# Template file for 'polipo'
|
||||||
pkgname=polipo
|
pkgname=polipo
|
||||||
version=1.0.4.1
|
version=1.0.4.1
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="A small and fast caching web proxy"
|
short_desc="A small and fast caching web proxy"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue