Skip to content

Instantly share code, notes, and snippets.

@3100
Created August 10, 2015 02:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3100/e028b64124c4d57b8f1b to your computer and use it in GitHub Desktop.
Save 3100/e028b64124c4d57b8f1b to your computer and use it in GitHub Desktop.
mackerelの自動起動(systemd@arch)
[Unit]
Description=Run mackerel agent
[Service]
Type=simple
ExecStart=/opt/mackerel-agent/mackerel-agent --conf=/etc/mackerel-agent/mackerel-agent.conf
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
RequiredBy=multi-user.target
@3100
Copy link
Author

3100 commented Aug 10, 2015

/usr/lib/systemd/system下においている。とりあえず動いているレベル。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment