Skip to content

Instantly share code, notes, and snippets.

@creationix
Last active August 29, 2015 14:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creationix/ab209f0fecb864e8dd06 to your computer and use it in GitHub Desktop.
Save creationix/ab209f0fecb864e8dd06 to your computer and use it in GitHub Desktop.
Virgo service file for archlinux
; Create this file at /etc/systemd/system/rackspace-monitoring-agent.service
; Then reload the configs using `systemctl daemon-reload`
; Enable it with `systemctl enable rackspace-monitoring-agent.service`
; Restart this service using `systemctl restart rackspace-monitoring-agent`
[Unit]
Description=Rackspace Monitoring Agent
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/rackspace-monitoring-agent --exit-on-upgrade --production -l /var/log/rackspace-monitoring-agent.log 2>&1
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment