Commit aa700868 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

[JM-765] Fixed up debian package build.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9617 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1491a7ff
/etc/openfire/openfire.xml
/etc/openfire/security/keystore
/etc/openfire/security/truststore
/etc/openfire/security/client.truststore
......@@ -2,3 +2,4 @@
/etc/openfire/security /usr/share/openfire/resources/security
/var/lib/openfire/embedded-db /usr/share/openfire/embedded-db
/var/lib/openfire/plugins /usr/share/openfire/plugins
/var/log/openfire /usr/share/openfire/logs
......@@ -29,6 +29,7 @@ case "$1" in
mkdir -p /var/log/openfire
mkdir -p /var/lib/openfire/embedded-db
chown -R openfire:openfire /usr/share/openfire
chown -R openfire:openfire /var/lib/openfire
chown -R openfire:openfire /var/log/openfire
chown -R openfire:openfire /etc/openfire
......
diff -Nur openfire-3.3.0/src/conf/openfire.xml openfire-3.3.0.new/src/conf/openfire.xml
--- openfire-3.3.0/src/conf/openfire.xml 2007-04-12 11:00:10.000000000 +0200
+++ openfire-3.3.0.new/src/conf/openfire.xml 2007-04-12 12:34:04.000000000 +0200
@@ -50,4 +50,9 @@
<interface></interface>
</network>
-->
-</jive>
\ Kein Zeilenumbruch am Dateiende.
+
+ <!-- Set the log directory to /var/log/openfire for the debian package. -->
+ <log>
+ <directory>/var/log/openfire</directory>
+ </log>
+</jive>
diff -Nur openfire-3.3.0/src/java/org/jivesoftware/util/JiveGlobals.java openfire-3.3.0.new/src/java/org/jivesoftware/util/JiveGlobals.java
--- openfire-3.3.0/src/java/org/jivesoftware/util/JiveGlobals.java 2007-04-12 12:36:59.000000000 +0200
+++ openfire-3.3.0.new/src/java/org/jivesoftware/util/JiveGlobals.java 2007-04-12 12:38:40.000000000 +0200
@@ -243,10 +243,10 @@
if (!mh.exists()) {
Log.error("Error - the specified home directory does not exist (" + pathname + ")");
}
- else if (!mh.canRead() || !mh.canWrite()) {
+ else if (!mh.canRead()) {
Log.error("Error - the user running this application can not read " +
- "and write to the specified home directory (" + pathname + "). " +
- "Please grant the executing user read and write permissions.");
+ "to the specified home directory (" + pathname + "). " +
+ "Please grant the executing user read permissions.");
}
else {
home = pathname;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment