From 5ace83529b1fd3e46db32357c8716be51d921449 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 14 Sep 2004 17:13:20 +0000 Subject: [PATCH] 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. --- debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5