Merge pull request #155 from ClusterLabs/drbd-fixes

Fix drbd-kmod build corner case
main
kronosnet CI bot 4 years ago committed by GitHub
commit bafef445bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      units/anvil-daemon.service

@ -4,6 +4,7 @@ Wants=network.target
[Service]
Type=simple
ExecStartPre=-/bin/sh -c "if [ -f /usr/sbin/akmods ]; then /usr/sbin/modprobe drbd || /usr/sbin/akmods --force; fi"
ExecStart=/usr/sbin/anvil-daemon
ExecStop=/bin/kill -WINCH ${MAINPID}
Restart=always

Loading…
Cancel
Save