diff options
Diffstat (limited to 'conf.d')
-rw-r--r-- | conf.d/etc/profile.d/xds-server.sh | 4 | ||||
-rw-r--r-- | conf.d/usr/lib/systemd/user/xds-server.service | 2 |
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 |