diff mbox series

[master-next] optee-client: switch systemd service to notify type

Message ID 20241002071447.64389-1-mikko.rapeli@linaro.org
State New
Headers show
Series [master-next] optee-client: switch systemd service to notify type | expand

Commit Message

Mikko Rapeli Oct. 2, 2024, 7:14 a.m. UTC
optee-client 4.3 supports systemd sd-notify to inform
systemd and other services that it has started.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 .../recipes-security/optee/optee-client/tee-supplicant@.service  | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service b/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service
index 8325b6be..e3039fde 100644
--- a/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service
+++ b/meta-arm/recipes-security/optee/optee-client/tee-supplicant@.service
@@ -7,6 +7,7 @@  Conflicts=shutdown.target
 Before=tpm2.target sysinit.target shutdown.target
 
 [Service]
+Type=notify
 EnvironmentFile=-@sysconfdir@/default/tee-supplicant
 ExecStart=@sbindir@/tee-supplicant $OPTARGS
 ExecStop=-/bin/sh -c "/sbin/modprobe -v -r tpm_ftpm_tee ; /bin/kill $MAINPID"