Commit
b6eaf97 removed the Environment=CLUSTER=ceph lines from the
systemd service files. This has the unfortunate side effect of causing
the daemons to not start at all unless /etc/sysconfig/ceph exists and
sets the CLUSTER variable.
Signed-off-by: Tim Serong <tserong@suse.com>
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
+Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i
[Install]
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
+Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-mon -f --cluster ${CLUSTER} --id %i
[Install]
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
+Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
LimitNOFILE=131072