2014-07-20 02:08:43 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Ceph object storage daemon
|
2014-12-01 13:32:48 +00:00
|
|
|
After=network-online.target local-fs.target
|
|
|
|
Wants=network-online.target local-fs.target
|
|
|
|
PartOf=ceph.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Service]
|
2015-09-14 14:54:53 +00:00
|
|
|
LimitNOFILE=1048576
|
2014-07-20 02:08:43 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
|
|
Environment=CLUSTER=ceph
|
2015-04-24 00:15:14 +00:00
|
|
|
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
2015-08-06 15:57:57 +00:00
|
|
|
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
2015-06-26 11:13:33 +00:00
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Install]
|
2014-12-01 13:32:48 +00:00
|
|
|
WantedBy=ceph.target
|