Benoit SCHMID:
echo -n "Starting Oracle Listener: "
su - $ORA_OWNR -c "env ORACLE_HOME=/oracle/XXX/12102
/oracle/XXX/12102/bin/lsnrctl start LISTENER_XXX"
Don't abuse su for dropping privileges. * http://jdebp.eu./FGA/dont-abuse-su-for-dropping-privileges.htmlIt's now 2016, and the first rule for migrating to systemd applies even to Oracle softwares.
* http://jdebp.eu./FGA/systemd-house-of-horror/daemonize.html#first-rule * http://www.server-world.info/en/note?os=CentOS_7&p=oracle12c&f=6* https://lists.freedesktop.org/archives/systemd-devel/2014-October/thread.html#24663
* https://www.realdbamagic.com/automatic-db-startup-linux-part-oel-6-7-2/ _______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
