mirror of
https://github.com/myronblair/infra
synced 2026-06-30 17:50:10 -05:00
Initial infra: cron, systemd units, agent config template, README
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=The DigitalOcean Droplet Agent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Environment=TERM=xterm-256color
|
||||
ExecStart=/opt/digitalocean/bin/droplet-agent
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
TimeoutStopSec=90
|
||||
KillMode=process
|
||||
|
||||
OOMScoreAdjust=-900
|
||||
SyslogIdentifier=DropletAgent
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user