I have linux with SELinux and got problems
I have apache that has VHOST that runs API.PHP script that internally implement shell calls to bash scripts like this:
private function getRepoList(){
exec("/home/www/sites/hgcrm.saritasa.com/mercurial/get-repo-list.sh",$retval);
}
when I turn off SELinux - everything is working fine, but when I turn it on then
a.
I have linux with SELinux and got problems
I have apache that has VHOST that runs API.PHP script that internally implement shell calls to bash scripts like this:
private function getRepoList(){
exec("/home/www/sites/hgcrm.saritasa.com/mercurial/get-repo-list.sh",$retval);
}
when I turn off SELinux - everything is working fine, but when I turn it on then
a.
I have a server that I've setup running PHP. This serves JSON files and is running fine.
I also have several scripts that reads data from an outside source, connects to my MySQL Database Server, and runs commands to save the data to the MySQL Server.
Currently I am using Bash Scripts that are executed via Cron.
i have a very big script i have that i'd like to add a timeout to.
this script runs on a several remote host.
I'm using the linux 'script' command http://www.linuxcommand.org/man_pages/script1.html to log all input and output in an interactive bash script.
At the moment I have to call the script command, then run my bash script, then exit.
I want to run the script and exit commands from within the actual bash script itself.
I've learnt the basics of programming in bash.
I have a shell script called run.sh. In it, I may call other shell scripts like:
./run_1.sh
./run_2.sh
.........
If I call the script by ./run.sh, I have found actually it will invoke different tasks inside the script sequentially with different PIDs(i.e., run_1.sh will be a task and run_2.sh will be another task).
Server A needs to connect over svn+ssh to Server B to grab some source files for deploying on Server A. My deployment script runs from my local dev machine via:
ssh serverA 'bash -s' < deploy.sh
I have a passphraseless public/private key pair set up between Server A and Server B.
I have a server with Dual Xeon Quad Core L5420 running at 2.5GHz.