Ubuntu Pastebin

Paste from selinuxium at Thu, 8 Jun 2017 14:45:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Monit rules
set daemon 5
set logfile /var/log/monit.log
set idfile /var/lib/monit/id
set statefile /var/lib/monit/state
set mailserver redrelay.redmayne.co.uk
set eventqueue
        basedir /var/lib/monit/events
        slots 100

# email alerts
set alert james.thomas@redmayne.co.uk

set httpd port 2812 and
        allow 0.0.0.0/0.0.0.0
        allow admin:'M!nn13Bu$'

#nginx
check process nginx with pidfile /var/run/nginx.pid
        start program = "/etc/init.d/nginx start"
        stop program = "/etc/init.d/nginx stop"
        group www-data

#monoserve
check process monoserve with pidfile /var/run/monoserve.pid
        start program = "/etc/init.d/monoserve start"
        stop program = "/etc/init.d/monoserve stop"

include /etc/monit/conf.d/*
Download as text