ecdye / zram-config

A complete zram-config utility for swap, directories, and logs to reduce SD, NAND and eMMC block wear.
MIT License
412 stars 53 forks source link

Allow for up to 30 mins to sync data on shutdown #54

Closed mstormi closed 3 years ago

mstormi commented 3 years ago

There's more reports the default gracetime on shutdown (5 mins) is not enough in some cases.

Fixes: #51

Signed-off-by: Markus Storm markus.storm@gmx.net

ecdye commented 3 years ago

No, this is not correct. The issue is with the way that systemd handles concurrent systemctl stop requests when they are called from within a service. I'm working on a fix

mstormi commented 3 years ago

ok there can be more to it, but enlarging the timeout makes sense nonetheless doesn't it ?