summarylogtreecommitdiffstats
path: root/do-agent.service
diff options
context:
space:
mode:
Diffstat (limited to 'do-agent.service')
-rw-r--r--do-agent.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/do-agent.service b/do-agent.service
new file mode 100644
index 000000000000..422da67c005c
--- /dev/null
+++ b/do-agent.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=DigitalOcean agent
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+User=nobody
+Group=nobody
+ExecStart=/opt/digitalocean/bin/do-agent
+
+[Install]
+WantedBy=multi-user.target