# Copyright 2016 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 "Chromium OS trunks daemon for TPM2.0" | |
author "chromium-os-dev@chromium.org" | |
start on starting system-services and started dbus | |
stop on stopping system-services and stopped chapsd | |
respawn | |
script | |
mkdir -p /var/lib/trunks | |
chown trunks:trunks /var/lib/trunks | |
exec trunksd --simulator | |
end script |