Skip to content

Instantly share code, notes, and snippets.

@s-chb
Created May 31, 2020 23:17
Show Gist options
  • Save s-chb/cd402c40c9a753f0154d6c91c49e5961 to your computer and use it in GitHub Desktop.
Save s-chb/cd402c40c9a753f0154d6c91c49e5961 to your computer and use it in GitHub Desktop.
[Unit]
Description=AlertManager Server Service
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/alertmanager --config.file /etc/alertmanager/alertmanager.yml -web.external-url=http://x.x.x.x:9093
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment