2015-11-02 13:07:47 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Map RBD devices
|
|
|
|
|
2018-06-28 15:09:00 +00:00
|
|
|
After=network-online.target
|
2018-06-28 15:16:17 +00:00
|
|
|
Before=remote-fs-pre.target
|
|
|
|
Wants=network-online.target remote-fs-pre.target
|
2015-11-02 13:07:47 +00:00
|
|
|
|
|
|
|
[Service]
|
2018-02-27 08:42:48 +00:00
|
|
|
EnvironmentFile=-@SYSTEMD_ENV_FILE@
|
2016-03-19 04:36:59 +00:00
|
|
|
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
|