aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 16:24:16 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 16:24:16 +1300
commit41c411765d9f47bb129c0f65e99b24d6a3730392 (patch)
treed4a084d2afa25d4968acf1edd58b6e50e17a5862 /setup
parenta1ee762bcd59a8105173f19c7df240902f842cb2 (diff)
downloadtrackermap-server-41c411765d9f47bb129c0f65e99b24d6a3730392.tar.gz
trackermap-server-41c411765d9f47bb129c0f65e99b24d6a3730392.tar.bz2
trackermap-server-41c411765d9f47bb129c0f65e99b24d6a3730392.zip
Better fix for the start scripts (fix #2563)
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh8
1 files changed, 2 insertions, 6 deletions
diff --git a/setup/package.sh b/setup/package.sh
index 47fbc5572..f29b18942 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -71,13 +71,9 @@ copy_wrapper () {
echo "wrapper.ntservice.name=traccar" >> out/conf/wrapper.conf
echo "wrapper.ntservice.displayname=Traccar" >> out/conf/wrapper.conf
echo "wrapper.ntservice.description=Traccar" >> out/conf/wrapper.conf
- echo "wrapper.daemon.run_level_dir=/etc/rcX.d" >> out/conf/wrapper.conf
- cp -r yajsw/lib/core out/lib
- rm out/lib/core/ReadMe.txt
-
- cp -r yajsw/lib/extended out/lib
- rm out/lib/extended/ReadMe.txt
+ cp -r yajsw/lib/* out/lib
+ find out/lib -type f -name ReadMe.txt -exec rm -f {} \;
cp yajsw/templates/* out/templates