~ubuntu-branches/ubuntu/utopic/whoopsie/utopic-updates

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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
respawn
respawn limit 10 5

pre-start script
    [ -x /usr/bin/ubiquity-dm ] && { stop; exit 0; }

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

exec whoopsie -f