Files
cookbook-openstack-block-st…/files/default/cinder-group-active.service
Samuel Cassiba d2ff4496bb Added systemd unit, style and lint fixes for chefdk
- cinder-group-active is still SysV, but can and will start via systemd if
  coaxed to do so.
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability

Change-Id: I4c26aea78220eb20fc4e5e964af93414855df5f6
2017-08-02 02:15:54 -04:00

19 lines
434 B
Desktop File

[Unit]
SourcePath=/etc/init.d/cinder-group-active
Description=LSB: cinder volume group active script
After=remote-fs.target
After=network-online.target
After=systemd-journald-dev-log.socket
Wants=network-online.target
[Service]
Type=oneshot
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=true
ExecStart=/etc/init.d/cinder-group-active start
ExecStop=/etc/init.d/cinder-group-active stop