summaryrefslogtreecommitdiffstats
path: root/conf.d/usr
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 00:04:36 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-10-17 00:46:57 +0200
commitfa1a0fa5e47260349d2da761b499223d11324b58 (patch)
treef5dc6092e40da84075746a5aa1ab8e7d6ac8bc8d /conf.d/usr
parent777204d72f9d184e4416f943d8a1a38051dfb5ae (diff)
Add xds-agent user systemd service file and install
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/usr')
-rw-r--r--conf.d/usr/lib/systemd/user/xds-agent.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/conf.d/usr/lib/systemd/user/xds-agent.service b/conf.d/usr/lib/systemd/user/xds-agent.service
new file mode 100644
index 0000000..1fd038b
--- /dev/null
+++ b/conf.d/usr/lib/systemd/user/xds-agent.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=XDS Agent
+
+[Service]
+EnvironmentFile=-/etc/default/xds-agent
+ExecStart=/opt/AGL/xds/agent/xds-agent &
+
+[Install]
+WantedBy=multi-user.target