mirror of
https://github.com/ceph/ceph
synced 2025-01-08 04:01:48 +00:00
c26477448e
This patch adds systemd service files. It is possible to start and enable multiple instances (per monid, osdid, mds name), e.g. # systemctl start ceph-mon@node01 # systemctl enable ceph-mon@node01 # systemctl start ceph-osd@0 # systemctl enable ceph-osd@0 The ceph cluster can be set in the system config file: /etc/sysconfig/ceph adding or editing the CLUSTER environment variable. Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
11 lines
218 B
Desktop File
11 lines
218 B
Desktop File
[Unit]
|
|
Description=Ceph metadata server daemon
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
Environment=CLUSTER=ceph
|
|
ExecStart=/usr/bin/ceph-mds -f --cluster ${CLUSTER} --id %i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|