mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
tinyproxy: fix default config location on the runit service
resolves void-linux/void-packages#3491
This commit is contained in:
parent
c1317b44ee
commit
8763f07ef6
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
[ -r conf ] && . ./conf
|
[ -r conf ] && . ./conf
|
||||||
install -d -m 0755 -o _tinyproxy -g _tinyproxy \
|
install -d -m 0755 -o _tinyproxy -g _tinyproxy /run/tinyproxy
|
||||||
/var/log/tinyproxy /var/run/tinyproxy
|
exec chpst -1 tinyproxy -d $OPTS
|
||||||
exec chpst -1 tinyproxy ${OPTS:=-d -c /etc/tinyproxy.conf}
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tinyproxy'
|
# Template file for 'tinyproxy'
|
||||||
pkgname=tinyproxy
|
pkgname=tinyproxy
|
||||||
version=1.10.0
|
version=1.10.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-transparent --localstatedir=/var tinyproxy_cv_regex_broken=no"
|
configure_args="--enable-transparent --localstatedir=/var tinyproxy_cv_regex_broken=no"
|
||||||
hostmakedepends="asciidoc"
|
hostmakedepends="asciidoc"
|
||||||
|
@ -13,6 +13,7 @@ distfiles="https://github.com/tinyproxy/${pkgname}/releases/download/${version}/
|
||||||
checksum=59be87689c415ba0d9c9bc6babbdd3df3b372d60b21e526b118d722dbc995682
|
checksum=59be87689c415ba0d9c9bc6babbdd3df3b372d60b21e526b118d722dbc995682
|
||||||
system_accounts="_tinyproxy"
|
system_accounts="_tinyproxy"
|
||||||
conf_files="/etc/tinyproxy/tinyproxy.conf"
|
conf_files="/etc/tinyproxy/tinyproxy.conf"
|
||||||
|
make_dirs="/var/log/tinyproxy 755 _tinyproxy _tinyproxy"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
sed -i $DESTDIR/etc/tinyproxy/tinyproxy.conf \
|
sed -i $DESTDIR/etc/tinyproxy/tinyproxy.conf \
|
||||||
|
|
Loading…
Add table
Reference in a new issue