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
|
2015-10-26 07:13:19 +00:00
|
|
|
PartOf=ceph-osd.target
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Service]
|
2015-09-14 14:54:53 +00:00
|
|
|
LimitNOFILE=1048576
|
2015-09-17 22:28:38 +00:00
|
|
|
LimitNPROC=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
|
2016-02-15 19:10:59 +00:00
|
|
|
ExecStartPre=/usr/lib/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
|
2016-01-28 02:17:14 +00:00
|
|
|
ProtectHome=true
|
|
|
|
ProtectSystem=full
|
|
|
|
PrivateTmp=true
|
2016-04-05 16:32:59 +00:00
|
|
|
TasksMax=infinity
|
2016-03-17 17:54:47 +00:00
|
|
|
Restart=on-failure
|
|
|
|
StartLimitInterval=30min
|
|
|
|
StartLimitBurst=3
|
2014-07-20 02:08:43 +00:00
|
|
|
|
|
|
|
[Install]
|
2015-10-26 07:13:19 +00:00
|
|
|
WantedBy=ceph-osd.target
|