mirror of
https://github.com/ceph/ceph
synced 2024-12-22 11:31:55 +00:00
c7ee798a0f
Specify the nofile ulimit in one standard place, where everyone expects it to be. Drop it from the ceph-osd unit file. Leave upstart and sysvinit untouched for the time being to avoid compat issues. Signed-off-by: Sage Weil <sage@redhat.com>
16 lines
496 B
SYSTEMD
16 lines
496 B
SYSTEMD
[Unit]
|
|
Description=Ceph object storage daemon
|
|
After=network-online.target local-fs.target
|
|
Wants=network-online.target local-fs.target
|
|
PartOf=ceph.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
Environment=CLUSTER=ceph
|
|
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i --setuser ceph --setgroup ceph
|
|
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --setuser ceph --setgroup ceph --id %i
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=ceph.target
|