From: Jonathan McDowell Date: Tue, 14 Sep 2004 17:13:20 +0000 (+0000) Subject: Create logfile for Debian package X-Git-Tag: 0.3.0~6 X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=5ace83529b1fd3e46db32357c8716be51d921449 Create logfile for Debian package Create our logfile as part of the postinst for the Debian package and make sure the onak user can write to it. --- diff --git a/debian/postinst b/debian/postinst index c34d68e..1252508 100644 --- a/debian/postinst +++ b/debian/postinst @@ -10,6 +10,10 @@ if [ "$1" = "configure" ]; then # Take ownership of the database directory chown -R onak /var/lib/onak + # Create our logfile + touch /var/log/onak.log + chown onak /var/log/onak.log + # Make the CGI tools setuid onak for i in /usr/lib/cgi-bin/pks/* do