1:255.13-alt1
[systemd_ALT.git] / units / systemd-pcrlock-file-system.service.in
blobd68a42e09a6d678169b01725cd39790d4008107e
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
5 #  systemd is free software; you can redistribute it and/or modify it
6 #  under the terms of the GNU Lesser General Public License as published by
7 #  the Free Software Foundation; either version 2.1 of the License, or
8 #  (at your option) any later version.
10 [Unit]
11 Description=Lock File Systems to TPM2 PCR Policy
12 Documentation=man:systemd-pcrlock(8)
13 DefaultDependencies=no
14 Conflicts=shutdown.target
15 Before=sysinit.target shutdown.target systemd-pcrlock-make-policy.service
16 ConditionPathExists=!/etc/initrd-release
17 ConditionSecurity=measured-uki
19 [Service]
20 Type=oneshot
21 RemainAfterExit=yes
22 ExecStart={{LIBEXECDIR}}/systemd-pcrlock lock-file-system
24 [Install]
25 WantedBy=sysinit.target