Bertrand SIMONNET | 70f4d96 | 2014-02-21 11:04:54 -0800 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | description "Restart shill at slow rate if it fails to respawn" |
| 6 | author "chromium-os-dev@chromium.org" |
| 7 | |
| 8 | # If shill fails to start up due to fast-respawn, this is a bad |
| 9 | # thing. Connectivity in chromium-os is absolutely essential, so |
| 10 | # respond to this failure by pausing and restarting. |
| 11 | start on stopped shill PROCESS=respawn |
| 12 | |
| 13 | script |
| 14 | sleep 60 |
| 15 | start shill |
| 16 | end script |