Accepting request 1045319 from home:kostasp:branches:Virtualization:containers

- Add stop entry to systemd service file so the lxc containers shutdown
  gracefully

OBS-URL: https://build.opensuse.org/request/show/1045319
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=124
This commit is contained in:
2023-01-24 08:38:02 +00:00
committed by Git OBS Bridge
parent 1cefa70ac3
commit a2951b072f
2 changed files with 7 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ Documentation=man:lxd(1)
Environment=LXD_OVMF_PATH=/usr/share/lxd/ovmf
ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
ExecStartPost=/usr/bin/lxd waitready --timeout=600
ExecStop=/usr/bin/lxd shutdown --timeout=600
TimeoutStartSec=600s
TimeoutStopSec=30s
Restart=on-failure