Skip to content

Instantly share code, notes, and snippets.

@jamesoff
Created April 15, 2018 18:41
Show Gist options
  • Save jamesoff/6565125913ade024cf80b7e65f7f5912 to your computer and use it in GitHub Desktop.
Save jamesoff/6565125913ade024cf80b7e65f7f5912 to your computer and use it in GitHub Desktop.
Sample simplemonitor systemd config
[Service]
Type=simple
ExecStart=/usr/bin/python monitor.py
WorkingDirectory=/home/james/src/simplemonitor
User=james
[Install]
WantedBy=multiuser.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment