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:
parent
1cefa70ac3
commit
a2951b072f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 25 19:01:56 UTC 2022 - Kostas Papadakis <papadakis.k@yandex.com>
|
||||||
|
|
||||||
|
- Add stop entry to systemd service file so the lxc containers shutdown
|
||||||
|
gracefully
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Dec 12 04:12:54 UTC 2022 - Aleksa Sarai <asarai@suse.com>
|
Mon Dec 12 04:12:54 UTC 2022 - Aleksa Sarai <asarai@suse.com>
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ Documentation=man:lxd(1)
|
|||||||
Environment=LXD_OVMF_PATH=/usr/share/lxd/ovmf
|
Environment=LXD_OVMF_PATH=/usr/share/lxd/ovmf
|
||||||
ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
|
ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
|
||||||
ExecStartPost=/usr/bin/lxd waitready --timeout=600
|
ExecStartPost=/usr/bin/lxd waitready --timeout=600
|
||||||
|
ExecStop=/usr/bin/lxd shutdown --timeout=600
|
||||||
TimeoutStartSec=600s
|
TimeoutStartSec=600s
|
||||||
TimeoutStopSec=30s
|
TimeoutStopSec=30s
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
Loading…
Reference in New Issue
Block a user