From: Jonathan McDowell Date: Tue, 14 Sep 2004 17:13:20 +0000 (+0000) Subject: Create logfile for Debian package X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/commitdiff_plain/5ace83529b1fd3e46db32357c8716be51d921449?hp=1dd29bb2bbc96e62fa2ba611d8871c7c4084ef75 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