On ClearOS 6.x - regardless whether fetchmail is running or not - the output is like this :-
If we look at "/etc/rc.d/init.d/fetchmail" we see this for the status command
No wonder there is no output - there is no command to do anything :-(
changing it to this
We then get
or
Surely this is a bug and not intentional ???
EDIT: Just checked Version 7.2 and the exact same problem....
[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....
Share this post:
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »