summaryrefslogtreecommitdiff
path: root/fsck/bcachefsck_fail@.service.in
diff options
context:
space:
mode:
authorNeal Gompa <neal@gompa.dev>2023-12-24 08:34:16 -0500
committerNeal Gompa <neal@gompa.dev>2023-12-24 08:34:16 -0500
commit89abdd87271e237141a9d4f44d531f7c53353b83 (patch)
tree810945975ebd294d3cde343d6b0c29809e98c5d6 /fsck/bcachefsck_fail@.service.in
parent8e56da27fd23c169395b3b266b15a1c093aba849 (diff)
Makefile, fsck: Use libexec instead of lib
These are executables that need to be installed in a non-path location. Most distributions now install these into /usr/libexec, and the path variable for this is LIBEXECDIR, so use that instead.
Diffstat (limited to 'fsck/bcachefsck_fail@.service.in')
-rw-r--r--fsck/bcachefsck_fail@.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck/bcachefsck_fail@.service.in b/fsck/bcachefsck_fail@.service.in
index 369a809a..8d5ed4c6 100644
--- a/fsck/bcachefsck_fail@.service.in
+++ b/fsck/bcachefsck_fail@.service.in
@@ -10,7 +10,7 @@ Documentation=man:bcachefs(8)
[Service]
Type=oneshot
Environment=EMAIL_ADDR=root
-ExecStart=@libdir@/bcachefsck_fail "${EMAIL_ADDR}" bcachefs %f
+ExecStart=@libexecdir@/bcachefsck_fail "${EMAIL_ADDR}" bcachefs %f
User=mail
Group=mail
SupplementaryGroups=systemd-journal