serf.service 286 B

123456789101112131415
  1. [Unit]
  2. Description=serf agent
  3. Requires=network-online.target
  4. After=network-online.target
  5. [Service]
  6. User=serf
  7. Environment=SERF_AGENT_OPTS="-config-dir=/etc/serf.d"
  8. ExecStart=/usr/bin/serf agent $SERF_AGENT_OPTS
  9. Restart=on-failure
  10. KillSignal=SIGINT
  11. [Install]
  12. WantedBy=multi-user.target