ceph/systemd/rbdmap.service
Boris Ranto 9224ac2ad2 rbdmap: systemd support
Fixes: #13374
Signed-off-by: Boris Ranto <branto@redhat.com>
2015-11-06 10:26:22 +01:00

13 lines
260 B
Desktop File

[Unit]
Description=Map RBD devices
After=network-online.target local-fs.target
Wants=network-online.target local-fs.target
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/rbdmap map
ExecReload=/usr/bin/rbdmap map
ExecStop=/usr/bin/rbdmap unmap