r2078 - trunk/varnish-cache/debian
ssm at projects.linpro.no
ssm at projects.linpro.no
Fri Oct 5 11:15:09 CEST 2007
Author: ssm
Date: 2007-10-05 11:15:09 +0200 (Fri, 05 Oct 2007)
New Revision: 2078
Modified:
trunk/varnish-cache/debian/varnish.postinst
Log:
Fix ticket #166, debian package issues
Modified: trunk/varnish-cache/debian/varnish.postinst
===================================================================
--- trunk/varnish-cache/debian/varnish.postinst 2007-10-01 12:44:19 UTC (rev 2077)
+++ trunk/varnish-cache/debian/varnish.postinst 2007-10-05 09:15:09 UTC (rev 2078)
@@ -5,8 +5,12 @@
adduser --system --no-create-home --group varnish 2>&1 > /dev/null || exit 78
fi
}
+varnish_create_storagedir() {
+ install -o varnish -g varnish -d /var/lib/varnish/$(uname -n) || exit 78
+}
varnish_setup_user
+varnish_create_storagedir
#DEBHELPER#
# Automatically added by dh_installinit
@@ -19,13 +23,3 @@
fi
fi
# End automatically added section
-# Automatically added by dh_installinit
-if [ -x "/etc/init.d/varnishlog" ]; then
- update-rc.d varnishlog defaults >/dev/null
- if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
- invoke-rc.d varnishlog start || exit $?
- else
- /etc/init.d/varnishlog start || exit $?
- fi
-fi
-# End automatically added section
More information about the varnish-commit
mailing list