1 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
5 ## Start-up based on systemd user service
7 For **Linux** distro, XDS agent can be started as a user service by Systemd.
10 /usr/lib/systemd/user/xds-agent.service
13 Use well-known systemd commands to control `xds-agent.service` service.
17 systemctl --user status xds-agent
20 systemctl --user start xds-agent
23 systemctl --user stop xds-agent
26 Default settings are defined in `/etc/default/xds-agent` file but these
27 settings you can overwritten by `$HOME/.xds/agent/agent-config.json` file,
28 see [Configuration chapter](./2_config.html) for more details.
32 On **Linux or MacOS**, simply execute `xds-agent` executable:
35 /opt/AGL/bin/xds-agent
38 On **Windows**, simply execute `xds-agent` executable (root path may change
39 depending where you installed/unzipped xds-agent tarball):
42 C:\AGL\bin\xds-agent.exe
48 If need be, you can increase log level by setting option
49 `--log <level>`, supported *level* are: panic, fatal, error, warn, info, debug.
51 Invoke `xds-agent --help` to get more details about possible options that allow
52 for example to change logging level or select a specific configuration file.
54 <!-- end-section-note -->