aboutsummaryrefslogtreecommitdiff
path: root/setup/package.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 20:22:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-20 20:22:15 +1300
commit82f51b570a0957587b25b48fdb5cfd21c4b14e9d (patch)
tree957edca7a73df5101dd313210ca7117d287c03fc /setup/package.sh
parent41c411765d9f47bb129c0f65e99b24d6a3730392 (diff)
downloadtrackermap-server-82f51b570a0957587b25b48fdb5cfd21c4b14e9d.tar.gz
trackermap-server-82f51b570a0957587b25b48fdb5cfd21c4b14e9d.tar.bz2
trackermap-server-82f51b570a0957587b25b48fdb5cfd21c4b14e9d.zip
One more fix attempt (fix #2563)
Diffstat (limited to 'setup/package.sh')
-rwxr-xr-xsetup/package.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup/package.sh b/setup/package.sh
index f29b18942..a6b54717d 100755
--- a/setup/package.sh
+++ b/setup/package.sh
@@ -71,6 +71,7 @@ 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=\${if (new File('/etc/rc0.d').exists()) return '/etc/rcX.d' else return '/etc/init.d/rcX.d'}" >> out/conf/wrapper.conf
cp -r yajsw/lib/* out/lib
find out/lib -type f -name ReadMe.txt -exec rm -f {} \;