Find Jobs
Hire Freelancers

Bash script to restart application services

$10-30 USD

Cancelled
Posted about 7 years ago

$10-30 USD

Paid on delivery
I need a script that will do the following: 1) Check at various times (using cron) if various services are running 2) If they're not, restart them and print to a log file date/time and service name which was restarted 3) If they are running, leave them 4) Have an ability (if this is possible) to exclude restarting services which are down for manual maintenance (for example if I want them to be down for any reason) while monitoring the rest. All services 'live' in /etc/init.d and all services start with 'free_' but have other names for example the service may be called 'free_food' while another in the same directory may be called 'free_hat'. The script should be able to restart multiple services based on this free_ variable.
Project ID: 13265826

About the project

13 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
13 freelancers are bidding on average $43 USD for this job
User Avatar
Hello, As DevOps engineer, I will be the best person to complete this job for you. Check my profile and handover this to me.
$25 USD in 1 day
4.9 (19 reviews)
4.7
4.7
User Avatar
Hi, I have extensive Linux and shell scripting experience. Have been doing system admin related tasks for the past 5 years. I understand what is your requirement and I can get it solved for you. Please give me go and I'll get started on this right away!
$30 USD in 3 days
5.0 (2 reviews)
2.4
2.4
User Avatar
hi, i can help you with your project. send me more information about via freelancer.com chat. regards
$50 USD in 3 days
4.9 (4 reviews)
2.2
2.2
User Avatar
I have similar jobs scripts that do exactly the same action but with little changes. would be great to help you out wiht this requirment.
$25 USD in 1 day
5.0 (1 review)
1.0
1.0
User Avatar
I am a Linux Systems administrator with a wide variety of skills and experience. As you may notice my bid is low as I do not have any existing reputation on freelancer.com and would like the opportunity to show you that I am a professional, competent person with the necessary skills/knowledge to complete this project to your expectations and on time. I have a lot of experience writing bash scripts and have even written several that manage services in a variety of ways. I am confident that I can complete a script that meets all of your requirements in a reasonable time-frame, in this case less than a day after being assigned this project. Please contact me with any questions or additional information you have on this project and I will respond as quickly as possible. Finally, if you decide not to select me for this project, would you please take the time to provide me with feedback so I can improve my proposals. Again, thank you for the consideration, -Troy
$20 USD in 1 day
5.0 (1 review)
0.4
0.4
User Avatar
I got this ... very simple task. I can and will provide a simple mechanism for you to indicate which services are down most likey via a simple text file that would have the service name, whether or not it is up or down, and perhaps a date/time whereby it will be re-established as being up. Another option would be to simply indicate a from date/time and a to date/time which defines the window of downtime. And services that are being checked within that window of time, will not be started if they are stopped. However, Would most likely include in the log their 'under maintenance' status as such information can be very valuable in the future.
$35 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$27 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
0.0
0
Payment method verified
Member since Feb 28, 2017

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.