I see that lxc stop by default waits 60 secs for a clean exit then force shutdown the CT.
is it possible to modify the shutdown behavior per CT w/o resorting to flags when issuing a shutdown (or when the host is rebooting)? some CTs run systemd services which take longer to exit, and/or must exit cleanly otherwise data is corrupted. How can set some CTs to always wait 180 seconds before a force shutdown?
Worth saying that lxc-stop you linked to is from lxc and not lxd project. Whilst what @sdeziel linked to is for lxd. Also worth saying that lxc stop won’t forcefully stop an instance when the timeout is reached.