Last active
December 12, 2016 14:27
-
-
Save 0tofu/fcae6e4aee37e4cf0955206d4f183080 to your computer and use it in GitHub Desktop.
mackerel-agent start
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
#!/bin/sh | |
AGENT_DIR="/jffs/utils/mackerel-agent" | |
# /etc 以下が再起動の度に初期化されてしまう為、証明書を再配置 | |
mkdir -p /etc/ssl/certs/ | |
cp -p ${AGENT_DIR}/ca-certificates.crt /etc/ssl/certs/ | |
# mackerel-agent 起動 | |
${AGENT_DIR}/mackerel-agent -conf "${AGENT_DIR}/mackerel-agent.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment