mirror of
https://github.com/myronblair/infra
synced 2026-07-27 20:45:59 -05:00
Initial infra: cron, systemd units, agent config template, README
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=The DigitalOcean Monitoring Agent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=do-agent
|
||||
ExecStart=/opt/digitalocean/bin/do-agent --syslog
|
||||
Restart=always
|
||||
|
||||
OOMScoreAdjust=-900
|
||||
SyslogIdentifier=DigitalOceanAgent
|
||||
PrivateTmp=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
NoNewPrivileges=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user