summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-07 08:09:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-07 08:09:47 +0000
commit07bdabcfa0e5b8aefc547612aeab3b96389b4ffe (patch)
tree7c5527536acede067c6d7c45f6b12a49b940fb12 /main
parent427e7ac971488cba5d21f3472dbaa5553ffb8089 (diff)
downloadaports-07bdabcfa0e5b8aefc547612aeab3b96389b4ffe.tar.bz2
aports-07bdabcfa0e5b8aefc547612aeab3b96389b4ffe.tar.xz
main/tinyproxy: create pid dir from init.d
Diffstat (limited to 'main')
-rw-r--r--main/tinyproxy/APKBUILD4
-rw-r--r--main/tinyproxy/tinyproxy.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD
index 8c62f955e..0bcb89648 100644
--- a/main/tinyproxy/APKBUILD
+++ b/main/tinyproxy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=tinyproxy
pkgver=1.8.3
-pkgrel=2
+pkgrel=3
pkgdesc="Lightweight HTTP proxy"
pkgusers="tinyproxy"
pkggroups="tinyproxy"
@@ -54,4 +54,4 @@ package() {
md5sums="292ac51da8ad6ae883d4ebf56908400d tinyproxy-1.8.3.tar.bz2
cf72d2503f6415079c4702853d467ea8 limit_headers.patch
-ce2b2e3c79fa0e8491fe625bbb15710a tinyproxy.initd"
+9c6df6fa8eb85558e46cf66b96820807 tinyproxy.initd"
diff --git a/main/tinyproxy/tinyproxy.initd b/main/tinyproxy/tinyproxy.initd
index 1037f9c28..71d97f5d0 100644
--- a/main/tinyproxy/tinyproxy.initd
+++ b/main/tinyproxy/tinyproxy.initd
@@ -23,7 +23,7 @@ checkconfig() {
start() {
checkconfig || return 1
-
+ checkpath --directory --owner tinyproxy:tinyproxy /var/run/tinyproxy
ebegin "Starting tinyproxy"
if [ -n "${PIDFILE}" ]; then
start-stop-daemon --start --pidfile "${PIDFILE}" --startas /usr/sbin/tinyproxy -- -c "${CONFFILE}"