mirror of
https://github.com/ceph/ceph
synced 2025-04-04 23:42:13 +00:00
systemd: set up environment in rbdmap unit file
http://tracker.ceph.com/issues/14984 Fixes: #14984 Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
802e6bb490
commit
a7a36581ff
@ -5,6 +5,8 @@ After=network-online.target local-fs.target
|
||||
Wants=network-online.target local-fs.target
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=-/etc/sysconfig/ceph
|
||||
Environment=RBDMAPFILE=/etc/ceph/rbdmap
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/rbdmap map
|
||||
|
Loading…
Reference in New Issue
Block a user