Created
August 1, 2018 11:02
-
-
Save RoccoHoward/8a128fdc9da36dfbd08857a12116e688 to your computer and use it in GitHub Desktop.
awslogs.service
This file contains hidden or 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