Add xds-agent user systemd service file and install
[src/xds/xds-agent.git] / conf.d / usr / lib / systemd / user / xds-agent.service
similarity index 74%
rename from xds-agent.service
rename to conf.d/usr/lib/systemd/user/xds-agent.service
index 66788dc..1fd038b 100644 (file)
@@ -2,7 +2,7 @@
 Description=XDS Agent
 
 [Service]
-User=claneys
+EnvironmentFile=-/etc/default/xds-agent
 ExecStart=/opt/AGL/xds/agent/xds-agent &
 
 [Install]