Skip to content

Instantly share code, notes, and snippets.

@yuba
Forked from nori-nori/gist:93f7a971d4e9bae9ac2c
Last active August 29, 2015 14:23
Show Gist options
  • Save yuba/02f623e6898e5a8a71b8 to your computer and use it in GitHub Desktop.
Save yuba/02f623e6898e5a8a71b8 to your computer and use it in GitHub Desktop.
fixed to require the network to be up.
[Unit]
Description=Mackerel Agent
After=network.target
[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