summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdom4-server2
-rw-r--r--dom4-server.install2
2 files changed, 3 insertions, 1 deletions
diff --git a/dom4-server b/dom4-server
index b239c0e1ad0..ecfb613af45 100755
--- a/dom4-server
+++ b/dom4-server
@@ -28,4 +28,4 @@ done < /usr/share/dom4/config/$game.properties
export DOM4_CONF=/usr/share/dom4
-exec sh /opt/dom4/dom4.sh $config $game
+exec sh /opt/dom4/dom4.sh $config $game > /var/log/dom4/dom4.log
diff --git a/dom4-server.install b/dom4-server.install
index 1b841d227dd..1c2081d9502 100644
--- a/dom4-server.install
+++ b/dom4-server.install
@@ -16,10 +16,12 @@ post_upgrade() {
mkdir -p /opt/dom4
mkdir -p /usr/share/dom4/config
mkdir -p /usr/share/dom4/maps
+ mkdir -p /var/log/dom4
chown dom4:dom4 /usr/bin/dom4-server
chown -R dom4:dom4 /usr/share/dom4
chown -R dom4:dom4 /opt/dom4
+ chown -R dom4:dom4 /var/log/dom4
cat <<EOF