systemd: run mon and mds as ceph:ceph

Signed-off-by: Sage Weil <sage@redhat.com>
This commit is contained in:
Sage Weil 2015-04-23 17:12:23 -07:00
parent 3c56938280
commit ec1ee5e901
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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