ceph/systemd/ceph-osd@.service
Marco Garcês 1835778282 needs network or it will not start if enabled
example error message: "unable to find any IP address in networks: 10.2.27.0/25", so the service wont start
2014-08-22 12:30:58 +02:00

14 lines
354 B
Desktop File

[Unit]
Description=Ceph object storage daemon
After=network-online.target
Wants=network-online.target
[Service]
EnvironmentFile=-/etc/sysconfig/ceph
Environment=CLUSTER=ceph
ExecStart=/usr/bin/ceph-osd -f --cluster ${CLUSTER} --id %i
ExecStartPre=/usr/libexec/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER} --id %i
[Install]
WantedBy=multi-user.target