From: Jan Fajerski Date: Fri, 12 Jun 2020 07:27:36 +0000 (+0200) Subject: systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec X-Git-Tag: v16.1.0~2043^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F35552%2Fhead;p=ceph.git systemd/ceph-osd: ceph-osd-prestart.sh now lives in /usr/libexec Fixes: https://tracker.ceph.com/issues/45984 Fixes: ed6552d5067c9f1d34c426f9ae18b0c37f2a9d29 Signed-off-by: Jan Fajerski --- diff --git a/systemd/ceph-osd@.service.in b/systemd/ceph-osd@.service.in index a0067d34722..4a2254e9947 100644 --- a/systemd/ceph-osd@.service.in +++ b/systemd/ceph-osd@.service.in @@ -9,7 +9,7 @@ Environment=CLUSTER=ceph EnvironmentFile=-@SYSTEMD_ENV_FILE@ ExecReload=/bin/kill -HUP $MAINPID ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph -ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i +ExecStartPre=@CMAKE_INSTALL_FULL_LIBEXECDIR@/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i LimitNOFILE=1048576 LimitNPROC=1048576 LockPersonality=true