Ubuntu Pastebin

Paste from wedgwood at Fri, 23 Jan 2015 21:23:46 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
###############################
#### mytest-service.conf ######
exec bash -c "sleep 10; exit 1"
respawn

#### mytest-watchdog.conf #####
start on stopping "JOB=mytest-service"
script
  echo "$JOB - $PROCESS - $RESULT - $EXIT_STATUS - $EXIT_SIGNAL"
end script

###############################
#### syslog ###################
Jan 23 21:22:47 myhost kernel: [84419.740121] init: mytest-service main process (25578) terminated with status 1
Jan 23 21:22:47 myhost kernel: [84419.740145] init: mytest-service main process ended, respawning

#### mytest-watchdog.log ######
mytest-service -  - ok -  - 
Download as text