projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Create logfile for Debian package
[onak.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index c34d68e8e84f91854317bd19eca8e0ede57c7678..1252508da87606529c3608814fd66c2f280d6494 100644
(file)
--- 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