aboutsummaryrefslogtreecommitdiff
path: root/setup/package.sh
diff options
context:
space:
mode:
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