summaryrefslogtreecommitdiffstats
path: root/conf.d
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-16 15:27:12 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-16 15:27:12 +0200
commit6f21a87e3b3cdbf013f470519ed17394f9d8853e (patch)
treeccf9b1ca2d6bbb5f6a7088523a6e9c7fe4bdcdaf /conf.d
parent5f67c1a72b982fc4057e2f6e4803324d3be1330a (diff)
Fixed xds systemd user service
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/etc/profile.d/xds-server.sh4
-rw-r--r--conf.d/usr/lib/systemd/user/xds-server.service2
2 files changed, 5 insertions, 1 deletions
diff --git a/conf.d/etc/profile.d/xds-server.sh b/conf.d/etc/profile.d/xds-server.sh
new file mode 100644
index 0000000..72f2b1a
--- /dev/null
+++ b/conf.d/etc/profile.d/xds-server.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+#---------- AGL xds-server tool options Start ---------"
+[ ":${PATH}:" != *":%%XDS_INSTALL_BIN_DIR%%:"* ] && export PATH=%%XDS_INSTALL_BIN_DIR%%:${PATH}
diff --git a/conf.d/usr/lib/systemd/user/xds-server.service b/conf.d/usr/lib/systemd/user/xds-server.service
index 600a343..0175d29 100644
--- a/conf.d/usr/lib/systemd/user/xds-server.service
+++ b/conf.d/usr/lib/systemd/user/xds-server.service
@@ -8,4 +8,4 @@ ExecStart=/opt/AGL/xds/server/xds-server-start.sh
ExecStop=/opt/AGL/xds/server/xds-server-stop.sh
[Install]
-WantedBy=multi-user.target
+WantedBy=default.target