mirror of https://github.com/ceph/ceph
19 lines
395 B
SYSTEMD
19 lines
395 B
SYSTEMD
[Unit]
|
|
Description=Map RBD devices
|
|
|
|
After=network-online.target
|
|
Before=remote-fs-pre.target
|
|
Wants=network-online.target remote-fs-pre.target
|
|
|
|
[Service]
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
|
Environment=RBDMAPFILE=/etc/ceph/rbdmap
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/bin/rbdmap map
|
|
ExecReload=/usr/bin/rbdmap map
|
|
ExecStop=/usr/bin/rbdmap unmap-all
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|