Forums

Resolved
0 votes
On ClearOS 6.x - regardless whether fetchmail is running or not - the output is like this :-

[root@danda ~]# service fetchmail status
[root@danda ~]#

If we look at "/etc/rc.d/init.d/fetchmail" we see this for the status command

... clipped
stop)
echo -n $"Stopping $prog: "
killproc $prog
echo
/bin/rm -f $pidfile
RETVAL=$?
;;
status)
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
... clipped...

No wonder there is no output - there is no command to do anything :-(
changing it to this

... clipped
stop)
echo -n $"Stopping $prog: "
killproc $prog
echo
/bin/rm -f $pidfile
RETVAL=$?
;;
status)
status $prog
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
... clipped...

We then get

[root@danda ~]# service fetchmail status
fetchmail is stopped
[root@danda ~]#

or

[root@danda ~]# service fetchmail status
fetchmail (pid 25527) is running...
[root@danda ~]#

Surely this is a bug and not intentional ???

EDIT: Just checked Version 7.2 and the exact same problem....
Thursday, July 07 2016, 06:56 AM
Share this post:
Responses (0)
  • There are no replies here yet.
Your Reply