Closed amano-kenji closed 1 year ago
What configuration would you suggest? I've tried restart of emptty
service and it seems like that main interruption signal is TERM. TERM/5/KILL/5
?
Something like
TIMEOUT=${TIMEOUT:-"TERM/60/KILL/15"}
retry="${TIMEOUT}"
should be good because it gives emptty a plenty of time to gracefully shut down and allows users to configure retry. This is better than failing to stop.
I've tested with Alpine Linux and it seems to be good for handling issues. Thank you for the suggestion.
/etc/init.d/transmission-daemon has
/etc/init.d/fancontrol has
so that you can set retry in /etc/conf.d/fancontrol
Something like this should be in emptty openrc service so that
~/.config/emptty
is given enough time to close extra programs.