Skip to content

Instantly share code, notes, and snippets.

@wido
Created February 3, 2017 14:06
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 wido/77868747b4178eed29a14483a092799f to your computer and use it in GitHub Desktop.
Save wido/77868747b4178eed29a14483a092799f to your computer and use it in GitHub Desktop.
Serf systemd profile
[Unit]
Description=SERF
Documentation=https://www.serf.io/
[Service]
Type=simple
ExecStart=/usr/local/bin/serf agent -bind=[2001:db8::100] -rejoin -join=[2001:db8::100] -join=[2001:db8::101] -join=[2001:db8::102] -event-handler=/usr/local/bin/serf-event-handler
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment