| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| # wimax_manager upstart job |
| |
| # Minimum log level defined in base/logging.h. |
| # 0:INFO, 1:WARNING, 2:ERROR, 3:ERROR_REPORT, 4:FATAL |
| # -1:VLOG(1), -2:VLOG(2), etc |
| # Set to log only INFO or above by default. |
| env WIMAX_MANAGER_LOG_LEVEL=0 |
| |
| start on starting system-services |
| stop on stopping system-services |
| |
| pre-start script |
| # Clean up any leftover lock file. |
| rm -rf /var/lock/gct |
| end script |
| |
| post-stop script |
| # Clean up any leftover lock file. |
| rm -rf /var/lock/gct |
| end script |
| |
| respawn |
| expect fork |
| |
| exec wimax-manager --log-level="${WIMAX_MANAGER_LOG_LEVEL}" |