aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service
diff options
context:
space:
mode:
authortexierp <texier.pj2@gmail.com>2018-05-15 20:05:11 +0200
committerKhem Raj <raj.khem@gmail.com>2018-05-23 15:32:05 -0700
commit26ba552614d21fb5aa8ecc3eb41ad3ca30f709ec (patch)
treebb1bb07cc655b93b8f9a498d773723d8eb6c8cc6 /meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service
parent0d8d69a288aa26e32662889ae756433021b31ee6 (diff)
downloadmeta-openembedded-contrib-26ba552614d21fb5aa8ecc3eb41ad3ca30f709ec.tar.gz
minicoredumper: fixes for sysvinit and systemd
The sysv initscript and systemd service assumes minicoredumper is installed in /usr/bin/. In our case minicoredumper is installed in /usr/sbin/ by default. Therefore, fix this path. Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service')
-rw-r--r--meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service b/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service
index 851b54ccc1..45d098f293 100644
--- a/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service
+++ b/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.service
@@ -4,7 +4,7 @@ Description=Enable minicoredumper.
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=/bin/sh -c '/bin/echo "|/usr/bin/minicoredumper %%p %%u %%g %%s %%t %%h %%e" > /proc/sys/kernel/core_pattern'
+ExecStart=/bin/sh -c '/bin/echo "|/usr/sbin/minicoredumper %%p %%u %%g %%s %%t %%h %%e" > /proc/sys/kernel/core_pattern'
ExecStop=/bin/sh -c '/bin/echo "core" > /proc/sys/kernel/core_pattern'
[Install]