2015-11-02 13:07:47 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Map RBD devices
|
|
|
|
|
|
|
|
After=network-online.target local-fs.target
|
|
|
|
Wants=network-online.target local-fs.target
|
|
|
|
|
|
|
|
[Service]
|
2016-03-19 04:36:59 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/ceph
|
|
|
|
Environment=RBDMAPFILE=/etc/ceph/rbdmap
|
2015-11-02 13:07:47 +00:00
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
|
|
|
ExecStart=/usr/bin/rbdmap map
|
|
|
|
ExecReload=/usr/bin/rbdmap map
|
2017-02-10 16:50:12 +00:00
|
|
|
ExecStop=/usr/bin/rbdmap unmap-all
|
2016-08-31 22:42:34 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|