commit | 6aef160fc13e47343e96f9969166c3980e75f3b6 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu May 26 15:42:31 2022 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu May 26 15:43:10 2022 -0400 |
tree | a91c6504a7433d42d1e057c04b0a47ec00793206 | |
parent | ebd21ba4fc36577a70cad207e42d66594b73ed13 [diff] [blame] |
systemd: use qualified path Fix a documented anti-pattern: https://github.com/openbmc/docs/blob/master/anti-patterns.md#use-of-usrbinenv-in-systemd-service-files Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ief24dc4a695bc2330243406a7457c518664964be
diff --git a/dist/phosphor-certificate-manager@.service b/dist/phosphor-certificate-manager@.service index 8edbb4e..4d784d4 100644 --- a/dist/phosphor-certificate-manager@.service +++ b/dist/phosphor-certificate-manager@.service
@@ -4,7 +4,7 @@ [Service] Environment=UNIT="" EnvironmentFile=/usr/share/phosphor-certificate-manager/%I -ExecStart=/usr/bin/env phosphor-certificate-manager --endpoint ${ENDPOINT} --path ${CERTPATH} --type ${TYPE} --unit ${UNIT} +ExecStart=/usr/bin/phosphor-certificate-manager --endpoint ${ENDPOINT} --path ${CERTPATH} --type ${TYPE} --unit ${UNIT} SyslogIdentifier=phosphor-certificate-manager Restart=always UMask=0007