mirror of
https://github.com/ceph/ceph
synced 2025-02-16 15:27:47 +00:00
systemd: make ceph-osd setuid/gid to ceph:ceph
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
4dfe0a8a4b
commit
7c9fdf44f2
@ -7,8 +7,8 @@ PartOf=ceph.target
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
|
||||
ExecStartPre=@systemd_libexec_dir@/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
|
||||
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
||||
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --setuser ceph --setgroup ceph --id %i
|
||||
LimitNOFILE=131072
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user