summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/sysstat/sysstat
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2019-11-13 06:14:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-14 12:55:57 +0000
commit0fd691b9801b5313ff2e2c2cd5ca13fd50063235 (patch)
tree60b95cc4eec3732670dc5305d9db662ea297eda6 /meta/recipes-extended/sysstat/sysstat
parent4a82f8f8105b40208159230ed0102d2f1b991bc1 (diff)
downloadopenembedded-core-contrib-0fd691b9801b5313ff2e2c2cd5ca13fd50063235.tar.gz
sysstat: Correct our systemd unit file
In commit 8862f21e (sysstat: 12.1.3 -> 12.1.6), sa_lib_dir was changed from "${libdir}/sa" to "${libexecdir}/sa" to avoid problems with multilib. However, the systemd unit file was not changed accordingly, which lead to the following error when trying to start the service: systemd[4698]: sysstat.service: Failed at step EXEC spawning /usr/lib/sa/sa1: No such file or directory Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat')
-rw-r--r--meta/recipes-extended/sysstat/sysstat/sysstat.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat/sysstat.service b/meta/recipes-extended/sysstat/sysstat/sysstat.service
index aff07109f5..ca46befb99 100644
--- a/meta/recipes-extended/sysstat/sysstat/sysstat.service
+++ b/meta/recipes-extended/sysstat/sysstat/sysstat.service
@@ -5,7 +5,7 @@ Description=Resets System Activity Logs
Type=oneshot
RemainAfterExit=yes
User=root
-ExecStart=@LIBDIR@/sa/sa1 --boot
+ExecStart=@LIBEXECDIR@/sa/sa1 --boot
[Install]
WantedBy=multi-user.target