diff options
author | Neal Gompa <neal@gompa.dev> | 2023-12-24 08:34:16 -0500 |
---|---|---|
committer | Neal Gompa <neal@gompa.dev> | 2023-12-24 08:34:16 -0500 |
commit | 89abdd87271e237141a9d4f44d531f7c53353b83 (patch) | |
tree | 810945975ebd294d3cde343d6b0c29809e98c5d6 /fsck | |
parent | 8e56da27fd23c169395b3b266b15a1c093aba849 (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')
-rw-r--r-- | fsck/bcachefsck_all_fail.service.in | 2 | ||||
-rw-r--r-- | fsck/bcachefsck_fail@.service.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fsck/bcachefsck_all_fail.service.in b/fsck/bcachefsck_all_fail.service.in index b79f8196..fe584514 100644 --- a/fsck/bcachefsck_all_fail.service.in +++ b/fsck/bcachefsck_all_fail.service.in @@ -10,7 +10,7 @@ Documentation=man:bcachefsck_all(8) [Service] Type=oneshot Environment=EMAIL_ADDR=root -ExecStart=@libdir@/bcachefsck_fail "${EMAIL_ADDR}" bcachefsck_all +ExecStart=@libexecdir@/bcachefsck_fail "${EMAIL_ADDR}" bcachefsck_all User=mail Group=mail SupplementaryGroups=systemd-journal 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 |