]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
systemd: run mon and mds as ceph:ceph
authorSage Weil <sage@redhat.com>
Fri, 24 Apr 2015 00:12:23 +0000 (17:12 -0700)
committerSage Weil <sage@redhat.com>
Thu, 27 Aug 2015 00:34:14 +0000 (20:34 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
systemd/ceph-mds@.service
systemd/ceph-mon@.service

index aec46fd4eee8787464d46dab32689f92b77650dc..e045ebba0aaf9305f5b68242a04118c5525b8516 100644 (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
 
index 2e884507e8e9bea512ebc7603490bae529944036..396cb84a18c7271afa430b040e9671fb70bf04f5 100644 (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