Đã hoàn thành

Perl daemon script

I have perl script, need to be run only single instance.

If one instance already running witrh certain pid, and run script again it create another process

I want to prevent that, If there already running it should show error and die

I need small addition to script as following bash code to perl

```

#!/bin/bash

CHANGE=$(find /etc/apache2 -cmin -5)

FPM56_CHANGE=$(find /etc/php/5.6/fpm/pool.d -cmin -5)

if [ ! -z "$CHANGE" ]; then

systemctl restart apache2

fi

if [ ! -z "$FPM56_CHANGE" ]; then

systemctl restart [login to view URL]

fi

```

Thanks

Kĩ năng: Perl, Shell Script, Linux

Xem nhiều hơn: perl printing script output file, perl upload script database, payflow pro perl test script, perl email script, telnet perl shell script, perl betting script, perl confirm script, perl unzip script chilkat, perl sample script access database, simple perl upload script, resetting perl search script, perl myspace script, perl bash script, updating access database via perl cgi script, perl mysql script agi asterisk

Về Bên Thuê:
( 0 nhận xét ) Calgary, Canada

ID dự án: #20864300

Được trao cho:

kaloyan13

I have done daemon programs, and know how to implement the locking for single instance. Can do it for 30 minutes.

$15 CAD trong 1 ngày
(289 Đánh Giá)
6.8

4 freelancer đang chào giá trung bình $16 cho công việc này

goodwork20k

I am good in perl scripting and automation, please let me know if you are good to award this project to me

$20 CAD trong 1 ngày
(11 Nhận xét)
4.3
fivestar10

Hi! I am very happy to see your project detail. I think it is just my project. :) As you can see in my profile, (my review: https://www.freelancer.com/u/fivestar10?w=f) I have much experience with your job. please cont Thêm

$13 CAD trong 7 ngày
(0 Nhận xét)
0.0
Samer058

No thing Relevant Skills and Experience جميل من منظور الجهاز

$17 CAD trong 1 ngày
(0 Nhận xét)
0.0