Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
mackerel-agent start
#!/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