diff --git a/lxd.changes b/lxd.changes index 8c0fb3f..ee66209 100644 --- a/lxd.changes +++ b/lxd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Dec 25 19:01:56 UTC 2022 - Kostas Papadakis + +- Add stop entry to systemd service file so the lxc containers shutdown + gracefully + ------------------------------------------------------------------- Mon Dec 12 04:12:54 UTC 2022 - Aleksa Sarai diff --git a/lxd.service b/lxd.service index d515f5c..ef99bf3 100644 --- a/lxd.service +++ b/lxd.service @@ -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