blob: dbec02688262ccd325480ee3be9761f97f32b01e [file] [log] [blame]
# Copyright 2021 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 "Start cronista a tamper evident log daemon."
author "chromium-os-dev@chromium.org"
start on started system-services
stop on stopping system-services
respawn
respawn limit 3 10 # if the job respawns 3 times in 10 seconds, stop trying.
# Sacrifice before OOM panic.
oom score 0
# Run cronista with the default vsock address and port
exec minijail0 -u cronista -- /usr/bin/cronista -U vsock://vsock:3:5554