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?
Thank you,
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?
Thank you,