aboutsummaryrefslogtreecommitdiff
path: root/setup/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-07-30 20:42:02 +1200
commit110c49504f87c025423c923500bd52ea4615b33b (patch)
tree2398fd3fa3286b35b6f80cad51b59703d3065b6e /setup/package.sh
parent5f75f109dfc1140d2f644857d877baf88cb1fe83 (diff)
downloadtrackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.gz
trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.bz2
trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.zip
Improve logging system (fix #278)
Diffstat (limited to 'setup/package.sh')
-rwxr-xr-xsetup/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/package.sh b/setup/package.sh
index c79c5d710..8d3c87fc0 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -107,6 +107,7 @@ sed -i 's/<YourMainClass>/org.traccar.Main/g' out/conf/wrapper.conf
sed -i 's/@app.name@/traccar/g' out/conf/wrapper.conf
sed -i 's/@app.long.name@/traccar/g' out/conf/wrapper.conf
sed -i 's/@app.description@/traccar/g' out/conf/wrapper.conf
+sed -i 's/wrapper.logfile=..\/logs\/wrapper.log/wrapper.logfile=..\/logs\/wrapper.log.YYYYMMDD\nwrapper.logfile.rollmode=DATE/g' out/conf/wrapper.conf
# linux 32
@@ -152,7 +153,7 @@ makeself out traccar.run "traccar" "mkdir -p $app; cp -rf * $app; $app/bin/tracc
zip -j traccar-macosx-64.zip traccar.run macosx/README.txt
rm traccar.run
-rm -rf out
+#rm -rf out
# GENERAL CLEANUP