blob: 989f44353357737249fa3f38258c97f9c02cc9a2 [file] [log] [blame]
# Copyright (c) 2014 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.
description "Kick off the gs_offloader to clean up the results folder."
author "chromium-os-dev@chromium.org"
env CROS_CACHEDIR=/mnt/moblab/cros_cache
start on started moblab-scheduler-init
respawn
normal exit 0
exec sudo -u moblab CROS_CACHEDIR="${CROS_CACHEDIR}" \
/usr/local/autotest/site_utils/gs_offloader.py \
--age_to_upload=0 --age_to_delete=3 -m --log_size=200