File: simplemonitor.conf

package info (click to toggle)
simplemonitor 1.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,520 kB
  • sloc: python: 8,725; sh: 258; makefile: 74; javascript: 69
file content (18 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Simplemonitor upstart script
# Assumes existence of 'simplemonitor' user/group

description "simplemonitor startup script"

start on runlevel [2345]
stop on runlevel [016]

console log

respawn
setuid simplemonitor
setgid simplemonitor

script
  cd /opt/simplemonitor
  exec python /opt/simplemonitor/monitor.py
end script