Created
July 4, 2019 13:59
-
-
Save ZuZuD/5bd501456490dd441f52d2fdc4f19672 to your computer and use it in GitHub Desktop.
systemd_unit to strace amazon-ssm-agent.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=stracer for SSM | |
After=amazon-ssm-agent.service | |
PartOf=amazon-ssm-agent.service | |
[Service] | |
ExecStart=/usr/bin/bash -l -c '/bin/strace -p $(pidof amazon-ssm-agent) > /var/log/strace_ssm_agent.log 2>&1' | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment