Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626358 - Synchronize runscript options with rc-service options
Summary: Synchronize runscript options with rc-service options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-27 12:02 UTC by Thomas Deutschmann (RETIRED)
Modified: 2018-05-16 18:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-07-27 12:02:23 UTC
I can do

  /etc/init.d/<service> --ifstarted restart

to restart a service via logrotate for example but only when the service is actually running.

I cannot do the same using "service" (rc-service).

Please try to synchronize the options, i.e. make sure that options you can use for runscripts can be used in rc-service command as well.
Comment 1 William Hubbs gentoo-dev 2017-08-01 22:18:50 UTC
This is a goal, I just haven't had a chance to look at what needs to be done
to make it happen yet.