]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
init: add systemd service files 2154/head
authorFederico Simoncelli <fsimonce@redhat.com>
Sun, 20 Jul 2014 02:08:43 +0000 (22:08 -0400)
committerFederico Simoncelli <fsimonce@redhat.com>
Tue, 22 Jul 2014 15:30:55 +0000 (11:30 -0400)
commitc26477448e957faf0d4f51b588b20609c4bc9791
treec54a7801b07748a79fd53e970051068c93b6fc1e
parent9061988ec7eaa922e2b303d9eece86e7c8ee0fa1
init: add systemd service files

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>
ceph.spec.in
debian/ceph.install
src/Makefile.am
src/ceph-osd-prestart.sh [new file with mode: 0644]
src/upstart/ceph-osd.conf
systemd/ceph-mds@.service [new file with mode: 0644]
systemd/ceph-mon@.service [new file with mode: 0644]
systemd/ceph-osd@.service [new file with mode: 0644]