Simple CentOS script: restart a service if file exists
$30-250 USD
Thanh toán khi bàn giao
Hi, I need a very simple script:
I need a script that runs 24/7 constantly monitoring for the presence of a file. If a file exists, (ex: restart_httpd), I want it to delete that file and restart the httpd service (i.e execute 'service httpd restart'). I also need this script to run on server startup.
I am running CentOS 6 and CentOS 7.
ID dự án: #13618388
Về dự án
Được trao cho:
Hello from Greece, Would you like to have a chat regarding your project? Do you have root access to the server? Regards, Dimitris
7 freelancer chào giá trung bình$106 cho công việc này
I can implement it Give details Thanks ///////////////////////////////////////// ///////////////////////////////////////
hi, I can create this script and set up crontab for running it 24 7. I will also give you a documentation explaining the script. Will do extended support as well.