4
votes
1answer
175 views

Monitor a process in Debian

I want to create a service that monitors the existence of a certain process. I wrote the following shell script: #!/bin/sh while : do w=`ps u -A | grep -P ".+Sl.+/usr/local/MySource/endpoint" -c` ...
1
vote
0answers
203 views

service command: Failed to issue method call

I downloaded the source of tinyproxy and then use ./configure make make install to install it Then I want to start it, but get errors, like the following: [root@kitty tinyproxy-1.8.3]# service ...
0
votes
1answer
589 views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the commmand below to Centos and of course I get command not found. How do I then convert it to chkconfig ? update-rc.d redis_6379 defaults
0
votes
1answer
444 views

run 'service php5-fpm restart' without using sudo

I am integrating my cakephp projects using jenkins. Right now, I am exploring the use of Phing. There is one task where I need to run service php5-fpm restart So far I tried to do this manually. ...