blob: 9e628c57c0bbb0d0c5fdbebb75f1eb8e3dc47813 [file] [log] [blame]
# Copyright 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 "Brillo Buffet Service"
author "chromium-os-dev@chromium.org"
start on starting system-services
stop on stopping system-services
respawn
pre-start script
mkdir -p /var/lib/buffet
end script
# Minijail actually forks off our desired process.
expect fork
exec minijail0 -i -g buffet -u buffet \
/usr/bin/buffet --v="${V:-1}"