Last active
November 28, 2017 21:12
-
-
Save rbrenton/f1e5cac45b2da03eed0f04609898401a to your computer and use it in GitHub Desktop.
Systemd config for awslogs service.
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
[Unit] | |
Description=The CloudWatch Logs agent | |
After=rc-local.service | |
[Service] | |
Type=simple | |
Restart=always | |
KillMode=process | |
TimeoutSec=infinity | |
PIDFile=/var/awslogs/state/awslogs.pid | |
ExecStart=/var/awslogs/bin/awslogs-agent-launcher.sh --start --background --pidfile $PIDFILE --user awslogs --chuid awslogs & | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment