Skip to content

Instantly share code, notes, and snippets.

@bittracker
Created September 18, 2017 23:46
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 bittracker/1262dab84e773ba98e16f77e68bdb222 to your computer and use it in GitHub Desktop.
Save bittracker/1262dab84e773ba98e16f77e68bdb222 to your computer and use it in GitHub Desktop.
Simple Service Unit config for SimpleMonitor
[Unit]
Description=SimpleMonitor Service see: https://jamesoff.github.io/simplemonitor
After=syslog.target
[Service]
Type=simple
User=monitoring
Group=monitoring
WorkingDirectory=/opt/simplemonitor/
ExecStart=/opt/simplemonitor/monitor.py
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=multi-user.target
@bittracker
Copy link
Author

@jamesoff Thanks for your great Work on Simple Monitor! May this unit can be merged in the project docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment