mirror of
https://github.com/ceph/ceph
synced 2025-01-11 13:41:02 +00:00
systemd: run mon and mds as ceph:ceph
Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
parent
3c56938280
commit
ec1ee5e901
@ -7,6 +7,8 @@ PartOf=ceph.target
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
User=ceph
|
||||
Group=ceph
|
||||
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
|
@ -13,6 +13,8 @@ PartOf=ceph.target
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=CLUSTER=ceph
|
||||
User=ceph
|
||||
Group=ceph
|
||||
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user