~ubuntu-branches/ubuntu/saucy/whoopsie-daisy/saucy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# whoopsie - crash report submission daemon

description	"crash report submission daemon"

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

env CRASH_DB_URL=https://daisy.ubuntu.com
expect fork
respawn
respawn limit 10 5

pre-start script
    if ! grep report_crashes=true /etc/default/whoopsie -sqi; then
        stop; exit 0
    fi
end script

exec whoopsie