Hi all.
I have installed Oracle Forms and Reports 12c on an Oracle Linux Box:
[weblogic@ArtFMW1 scripts]$ uname -a
Linux ArtFMW1 4.14.35-1818.3.3.el7uek.x86_64 #2 SMP Mon Sep 24 14:45:01 PDT 2018 x86_64 x86_64 x86_64 GNU/Linux
[weblogic@ArtFMW1 scripts]$ cat /etc/oracle-release
Oracle Linux Server release 7.6
[weblogic@ArtFMW1 scripts]$
I have already my startup and shutdown scripts working properly. All i want is to create a service using using Oracle Linux 7 systemd.
I came across this note on MOS: Automatic Stop of Database (dbshut) not working in OL 7 with systemd (Doc ID 2229679.1). This is however for starting the database service.
[Unit]
Description=The Oracle Database Service
After=network.target
[Service]
Type=forking
# Type=oneshot
RemainAfterExit=yes
KillMode=none
# Set this to something larger if it has an impact
TimeoutStopSec=0
ExecStart=/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/dbora start
ExecStop=/u01/app/oracle/product/12.1.0.2/dbhome_1/bin/dbora stop
[Install]
# Puts wants directive for the other units in the relationship
WantedBy=default.target
systemctl enable dbora.service
systemctl daemon-reload
systemctl start dbora.service
Can i just use this as a basis for my FMW F&R 12c?
I'm only familiar with older procedure (/sbin/chkconfig).
Thanks in advance !!!.