Re: rcctl ls - services and daemons

2016-10-10 Thread Antoine Jacoutot
On Mon, Oct 10, 2016 at 06:43:05PM +0200, Jan Stary wrote:
> The rcctl(8) manpage makes the distinction between 'daemons' and 'services',
> and the description of some items in the output of 'rcctl ls'
> mentions only 'daemons'. But they are both 'services and deamons'
> in all cases (tested with e.g. postgresql running, stopped, or failed).

The current wording is correct. Service is like pf, multicast... you do not 
'start' nor 'stop' them using the rc.d framework.

> Index: rcctl.8
> ===
> RCS file: /cvs/src/usr.sbin/rcctl/rcctl.8,v
> retrieving revision 1.33
> diff -u -p -r1.33 rcctl.8
> --- rcctl.8   19 Jun 2016 10:54:20 -  1.33
> +++ rcctl.8   10 Oct 2016 16:37:06 -
> @@ -112,15 +112,15 @@ which can be one of:
>  .It Cm all
>  all services and daemons
>  .It Cm failed
> -enabled but stopped daemons
> +enabled but stopped services and daemons
>  .It Cm off
>  disabled services and daemons
>  .It Cm on
>  enabled services and daemons
>  .It Cm started
> -running daemons
> +running services and daemons
>  .It Cm stopped
> -stopped daemons
> +stopped services and daemons
>  .El
>  .It Cm order Op Ar daemon ...
>  Move the specified package daemons to the beginning of
> 

-- 
Antoine



rcctl ls - services and daemons

2016-10-10 Thread Jan Stary
The rcctl(8) manpage makes the distinction between 'daemons' and 'services',
and the description of some items in the output of 'rcctl ls'
mentions only 'daemons'. But they are both 'services and deamons'
in all cases (tested with e.g. postgresql running, stopped, or failed).

Jan

Index: rcctl.8
===
RCS file: /cvs/src/usr.sbin/rcctl/rcctl.8,v
retrieving revision 1.33
diff -u -p -r1.33 rcctl.8
--- rcctl.8 19 Jun 2016 10:54:20 -  1.33
+++ rcctl.8 10 Oct 2016 16:37:06 -
@@ -112,15 +112,15 @@ which can be one of:
 .It Cm all
 all services and daemons
 .It Cm failed
-enabled but stopped daemons
+enabled but stopped services and daemons
 .It Cm off
 disabled services and daemons
 .It Cm on
 enabled services and daemons
 .It Cm started
-running daemons
+running services and daemons
 .It Cm stopped
-stopped daemons
+stopped services and daemons
 .El
 .It Cm order Op Ar daemon ...
 Move the specified package daemons to the beginning of