Service monitoring is not working correctly

as247

Verified User
Joined
Nov 25, 2017
Messages
22
Hello,
I have created a custom deamon (written in c) for Centos 7. service command is working fine
Then i put it to /usr/local/directadmin/data/admin/services.status
But it always show status as "Process is stopped"

I tried multiple ways, but can't get it work correctly.

Anyone know how directadmin service monitor working? does it check for pid file or call `service` command?
service monitor.png
service status.png
Thank you,
 
Back
Top