From: Sage Weil Date: Fri, 24 Apr 2015 00:12:23 +0000 (-0700) Subject: systemd: run mon and mds as ceph:ceph X-Git-Tag: v9.1.0~294^2~28 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ec1ee5e90101a3bcc6356a8a8d2973db838bc9e3;p=ceph.git systemd: run mon and mds as ceph:ceph Signed-off-by: Sage Weil --- diff --git a/systemd/ceph-mds@.service b/systemd/ceph-mds@.service index aec46fd4eee8..e045ebba0aaf 100644 --- a/systemd/ceph-mds@.service +++ b/systemd/ceph-mds@.service @@ -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 diff --git a/systemd/ceph-mon@.service b/systemd/ceph-mon@.service index 2e884507e8e9..396cb84a18c7 100644 --- a/systemd/ceph-mon@.service +++ b/systemd/ceph-mon@.service @@ -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