Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 534208

Summary: net-misc/tor-0.2.6.2_alpha - /etc/init.d/tor: add extra options "graceful" and "gracefulstop"
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2015-01-01 14:14:02 UTC
tor-relay ~ # /etc/init.d/tor 
Usage: tor [options] stop | start | restart | describe | zap

I do miss "graceful" and "gracefulstop"
Comment 1 Anthony Basile gentoo-dev 2015-01-03 15:41:43 UTC
It doesn't show up in the list when you do `/etc/init.d/<script>`, but its there.  This is a bug in openrc which should list extra_started_commands.

Can you please open a bug there.
Comment 2 William Hubbs gentoo-dev 2015-01-05 22:56:09 UTC
As I said in the other bug, service specific command help is shown by
the describe command, by running:

rc-service foo describe

or

/etc/init.d/foo describe

If you want to add this type of help to your scripts, see man
openrc-run, and the description and description_$command variables.

Thanks,

William
Comment 3 Toralf Förster gentoo-dev 2015-01-06 15:24:52 UTC
understood - so not a bug