How to force shutdown database (immediate) before reboot or shutdown command execution - OEL7 ?
Hi, I'm using Oracle Linux 7 also I'm using "systemctl".
I need to force database shutdown before reboot is completed, script is working but log message indicates that script was not finished correctly, I don't know why...I guess reboot process is being executed more faster than scripts.
Automatic startup is working good, the problem is in our shutdown process; I've attached systemctl service code and shutdown scripts (also logs)
Thanks for your help.
...In response of some answers, I put the code here:
Systemctl:
[Unit]
Description=The Oracle Database Service
After=syslog.target network.target
Before=shutdown.target reboot.target halt.target