mirror of
https://github.com/ceph/ceph
synced 2024-12-20 18:33:44 +00:00
11 lines
317 B
SYSTEMD
11 lines
317 B
SYSTEMD
|
[Unit]
|
||
|
Description=Ceph cluster key creator task
|
||
|
|
||
|
# the last key created is the mds bootstrap key -- look for that.
|
||
|
ConditionPathExists=!/var/lib/ceph/bootstrap-mds/ceph.keyring
|
||
|
|
||
|
[Service]
|
||
|
EnvironmentFile=-/etc/sysconfig/ceph
|
||
|
Environment=CLUSTER=ceph
|
||
|
ExecStart=/usr/sbin/ceph-create-keys --cluster ${CLUSTER} --id %i
|