summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/etc/default/xds-server6
-rw-r--r--conf.d/etc/xds-server/config.json (renamed from conf.d/.config/xds/server/config.json)5
-rw-r--r--conf.d/service/xds-server.service3
3 files changed, 7 insertions, 7 deletions
diff --git a/conf.d/etc/default/xds-server b/conf.d/etc/default/xds-server
index 858530d..0818638 100644
--- a/conf.d/etc/default/xds-server
+++ b/conf.d/etc/default/xds-server
@@ -2,10 +2,10 @@
# this file is used for service environment in /lib/systemd/system/xds-server.service
# JSON config file to use
-#APP_CONFIG=/home/devel/.config/xds/server/config.json
+APP_CONFIG=/home/devel/.config/xds/server/config.json
# Logging level (supported levels: panic, fatal, error, warn, info, debug)
-#LOG_LEVEL=info
+LOG_LEVEL=info
# Filename where logs will be redirected (default stdout)
-#LOG_FILENAME=/tmp/xds/logs/xds-server.logs
+LOG_FILENAME=/tmp/xds-server/logs/xds-server.log
diff --git a/conf.d/.config/xds/server/config.json b/conf.d/etc/xds-server/config.json
index 19700cf..02d87bf 100644
--- a/conf.d/.config/xds/server/config.json
+++ b/conf.d/etc/xds-server/config.json
@@ -1,12 +1,11 @@
{
"webAppDir": "www",
"httpPort": "8000",
- "shareRootDir": "${HOME}/.xds/share",
- "logsDir": "/tmp/xds-server/logs",
+ "shareRootDir": "${HOME}/.xds-server/projects",
"sdkRootDir": "/xdt/sdk",
"syncthing": {
"binDir": "",
- "home": "${HOME}/.xds/syncthing-config",
+ "home": "${HOME}/.xds-server/syncthing-config",
"gui-address": "http://localhost:8384"
}
}
diff --git a/conf.d/service/xds-server.service b/conf.d/service/xds-server.service
index e938d3f..6da12c0 100644
--- a/conf.d/service/xds-server.service
+++ b/conf.d/service/xds-server.service
@@ -5,7 +5,8 @@ Description=XDS Server
User=devel
Type=forking
EnvironmentFile=-/etc/default/xds-server
-ExecStart=/opt/AGL/xds/xds-server-start.sh
+ExecStart=/opt/AGL/xds/server/xds-server-start.sh
+ExecStop=/opt/AGL/xds/server/xds-server-stop.sh
[Install]
WantedBy=multi-user.target