mirror of
https://github.com/traccar/traccar.git
synced 2025-01-07 03:07:01 +08:00
Remove default xml usage
This commit is contained in:
parent
3f0540021a
commit
c16b8c9d96
@ -5,14 +5,10 @@ write_files:
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>
|
||||
<properties>
|
||||
|
||||
<entry key="config.default">./conf/default.xml</entry>
|
||||
|
||||
<entry key='database.driver'>com.mysql.jdbc.Driver</entry>
|
||||
<entry key='database.url'>jdbc:mysql://localhost/traccar?zeroDateTimeBehavior=round&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry>
|
||||
<entry key='database.user'>root</entry>
|
||||
<entry key='database.password'>root</entry>
|
||||
|
||||
</properties>
|
||||
path: /root/traccar.xml
|
||||
|
||||
|
@ -88,7 +88,6 @@ prepare () {
|
||||
cp ../schema/* out/schema
|
||||
cp -r ../templates/* out/templates
|
||||
cp -r ../traccar-web/build/* out/web
|
||||
cp default.xml out/conf
|
||||
cp traccar.xml out/conf
|
||||
|
||||
if [ $PLATFORM = "all" -o $PLATFORM = "windows-64" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user