Skip to content

Instantly share code, notes, and snippets.

@nori-nori
Created January 19, 2015 09:42
Show Gist options
  • Save nori-nori/93f7a971d4e9bae9ac2c to your computer and use it in GitHub Desktop.
Save nori-nori/93f7a971d4e9bae9ac2c to your computer and use it in GitHub Desktop.
systemd unit file of "mackerel-agent" for RHEL/CentOS7
[Unit]
Description=Mackerel Agent
[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/mackerel-agent
ExecStart=/usr/local/bin/mackerel-agent --root=/var/lib/mackerel-agent $OPTS
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment