- 3,714,556 Users
- 2,242,576 Discussions
- 7,844,931 Comments
Oracle linux 7.9 shutdown too fast prevent K* scripts in /etc/rc0.d to complete normally
Oracle linux : 7.9 ; kernel : 4.1.12-124.48.2.el7uek.x86_64
Issue : I have a script to be executed at shutdown and it may take from a few seconds to a few minutes and I do want the script to complete normally. The script is installed in /etc/init.d with chkconfig. It as been tested successfully prior to installed in /etc/init.d . According to the script log , it was triggered by the shutdown but could not complete because the shutdown complete too fast ( less than 18 seconds ) .
Question : how can I configure Oracle linux to wait for K* scripts to complete