issues with htpdate using args twice, and not able to get status
I am trying to fix htpdate startup script, and am having issues figuring this out. Was hoping someone would have an idea what is going on....?
I commented out the stop, because even though the process writes out a pid file, status is unable to detect the running process. It seems that the process is writing out a pid file, however that pid file is perhaps to another pid that spawned off another process to actually start the service. This used to work, and not sure if something changed in the software, or in rc.subr.
The diff also addresses issues picked up in rclint.
Behavior I am trying to fix:
Status should work and return the correct pid.
Command_args should only have the args once, and not repeated.