projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd29bb
)
Create logfile for Debian package
author
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 17:13:20 +0000
(17:13 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 17:13:20 +0000
(17:13 +0000)
Create our logfile as part of the postinst for the Debian package and
make sure the onak user can write to it.
debian/postinst
patch
|
blob
|
history
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