I'm using ASA 12 + Apache 2.4.12 + PHP 5.6.10 on Fedora 4.0.6 and the stack is running well. When restarting apache I need to manually source sa_config.sh from command line like this:
My question is how to ensure that 'source /opt/sqlanywhere12/bin64/sa_config.sh' automatically executes before httpd starts? This is especially required when system boots.
Fedora 4.0.6 uses systemd, systemctl as service manager. On older systems I was able to insert the source command in the /etc/rc.d/init.d/httpd start() routine. This is not possible anymore.
asked 07 Jul '15, 17:12
Alternatively, you could set the appropriate environment variables (
answered 08 Jul '15, 08:53