summaryrefslogtreecommitdiff
path: root/linaro-healthcheck.conf
blob: 1991272e55f8ceee4c1d3f7ac45b39ce2efe4713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
description "Health check management script for EC2 instances"

start on filesystem or runlevel [2345]
stop on runlevel [!2345]

pre-start script
    # Stop job from continuing if no fqdn file
    [ -f /opt/linaro-healthcheck/fqdn ] && exit 0

    exit 1
end script

expect daemon
exec /usr/bin/python /opt/linaro-healthcheck/healthcheck.py