Created
August 3, 2016 00:59
-
-
Save cdemers/f3bbf50b9ed638af0613f796e73ba305 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// === BEGIN === | |
[Unit] | |
Description=Datadog Agent | |
After=multi-user.target | |
[Service] | |
Type=idle | |
ExecStart=/the_path/.datadog-agent/bin/agent | |
Restart=always | |
RestartSec=30 | |
WorkingDirectory=/the_path/.datadog-agent | |
[Install] | |
WantedBy=multi-user.target | |
// === END === | |
sudo systemctl daemon-reload | |
sudo systemctl enable myscript.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment