~sseman/juju-chaos-monkey/log-replay-data

« back to all changes in this revision

Viewing changes to scripts/chaos-monkey-restart.conf

  • Committer: seman.said at canonical
  • Date: 2015-06-05 18:22:02 UTC
  • mfrom: (18.1.5 upstart-init)
  • Revision ID: seman.said@canonical.com-20150605182202-1703ceuvywxzr6a5
Added support for restarting Chaos Monkey after a reboot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
description "Restarts Chaos Monkey."
 
2
start on runlevel [2345]
 
3
stop on runlevel [!2345]
 
4
normal exit 0
 
5
 
 
6
task
 
7
script
 
8
  exec python {restart_script_path} --runner-path '{runner_path}'  --cmd-arg '{cmd_arg}' --expire-time {expire_time}
 
9
end script