diff options
author | Nathan Cutler <ncutler@suse.com> | 2016-04-19 14:51:01 +0200 |
---|---|---|
committer | Nathan Cutler <ncutler@suse.com> | 2016-04-27 14:20:29 +0200 |
commit | 53b1a6799c2ce08acc8382e4aa996d1bde700316 (patch) | |
tree | 4a828565a9642fc1069ca9457057480da583c127 /systemd | |
parent | Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com> (diff) | |
download | ceph-53b1a6799c2ce08acc8382e4aa996d1bde700316.tar.xz ceph-53b1a6799c2ce08acc8382e4aa996d1bde700316.zip |
systemd: enable all the ceph .target services by default
Some distros, like Fedora and openSUSE, have a policy that all services are
disabled by default.
This patch changes that default for the ceph.target and
ceph-{mds,mon,osd,radosgw}.target services.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/50-ceph.preset | 5 | ||||
-rw-r--r-- | systemd/Makefile.am | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/systemd/50-ceph.preset b/systemd/50-ceph.preset new file mode 100644 index 00000000000..ee86f153bce --- /dev/null +++ b/systemd/50-ceph.preset @@ -0,0 +1,5 @@ +enable ceph.target +enable ceph-msd.target +enable ceph-mon.target +enable ceph-osd.target +enable ceph-radosgw.target diff --git a/systemd/Makefile.am b/systemd/Makefile.am index a6aecc9a26a..9483fe226e0 100644 --- a/systemd/Makefile.am +++ b/systemd/Makefile.am @@ -21,4 +21,5 @@ unit_DATA = $(unitfiles) EXTRA_DIST = \ $(unitfiles) \ ceph \ - ceph.tmpfiles.d + ceph.tmpfiles.d \ + 50-ceph.preset |