diff --git a/meson.build b/meson.build index 9b47e6ad03..14b919d0c9 100644 --- a/meson.build +++ b/meson.build @@ -2212,7 +2212,7 @@ if conf.get('ENABLE_SYSEXT') == 1 link_with : [libshared], install_rpath : rootlibexecdir, install : true, - install_dir : rootbindir) + install_dir : rootlibexecdir) endif if conf.get('ENABLE_USERDB') == 1 diff --git a/units/systemd-sysext.service.in b/units/systemd-sysext.service.in index 17b0837554..aee30cc4b5 100644 --- a/units/systemd-sysext.service.in +++ b/units/systemd-sysext.service.in @@ -24,8 +24,8 @@ ConditionDirectoryNotEmpty=|/usr/lib/extensions [Service] Type=oneshot RemainAfterExit=yes -ExecStart=@rootbindir@/systemd-sysext --merge -ExecStop=@rootbindir@/systemd-sysext --unmerge +ExecStart=@rootlibexecdir@/systemd-sysext --merge +ExecStop=@rootlibexecdir@/systemd-sysext --unmerge [Install] WantedBy=sysinit.target