commit | 6733b9574b9fdec74e1b4fb2e731b332a6e4e3ec | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu May 26 15:08:43 2022 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Thu May 26 15:11:20 2022 -0400 |
tree | ebe2fa91ce75eab403d0e62ca39f4c51da78be54 | |
parent | 9eb0cc3d8272bcdc58ead70c9a39fe8cecd5b6b5 [diff] |
intrusionsensor: 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: Iee20d0516a4bd031b861f47c451a2bfccd986bde
diff --git a/service_files/xyz.openbmc_project.intrusionsensor.service b/service_files/xyz.openbmc_project.intrusionsensor.service index 1730b07..3f815ba 100644 --- a/service_files/xyz.openbmc_project.intrusionsensor.service +++ b/service_files/xyz.openbmc_project.intrusionsensor.service
@@ -7,8 +7,7 @@ [Service] Restart=always RestartSec=5 -ExecStart=/usr/bin/env intrusionsensor -SyslogIdentifier=intrusion-sensor +ExecStart=/usr/bin/intrusionsensor [Install] WantedBy=multi-user.target