.profile in "daemon" suse linux

Hi Experts,

Good day to you!

During system reboot application do not work because the application does not know about ORACLE_HOME environment setting. Where ORACLE_HOME environment setting is declared in .profile.

Please help to how call …profile during the start of services as the daemon.

Regards,
Jesse Kanth

@jessekanth:

Assuming that the default CLI shell is “bash”, for SUSE and openSUSE systems, you should define system-wide environment variables in ‘/etc/profile.local’ – see the comments in ‘/etc/profile’ …

For other CLI shells such as those related to “csh”, you should use, for example, either ‘/etc/csh.login.local’ or ‘/etc/csh.chsrc.local’ – see the comments in ‘/etc/csh.cshrc’ and ‘/etc/csh.login’ …

AFAICS, “ORACLE_HOME” should be defined as follows: <https://docs.oracle.com/database/121/ADMQS/GUID-EC18C4A6-3BA5-4C14-9D76-B0DD62FEFFF2.htm#ADMQS12369>