Skip to content

Instantly share code, notes, and snippets.

@retzkek
Created February 24, 2017 19:48
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 retzkek/0dcd7b19548de96531bd5362c51ee2a6 to your computer and use it in GitHub Desktop.
Save retzkek/0dcd7b19548de96531bd5362c51ee2a6 to your computer and use it in GitHub Desktop.
Fifemon systemd units
[Unit]
Description=Fifemon HTCondor Probe
Documentation=https://github.com/fifemon
Wants=network-online.target
After=network-online.target
[Service]
User=fifemon
Group=fifemon
Type=simple
Restart=on-failure
ExecStart=/opt/fifemon/probes/bin/condor_probe.py /opt/fifemon/probes/etc/condor-probe.cfg
TimeoutStopSec=20
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment