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

Bug 393115

Summary: dev-db/redis: replace or remove opts in init script
Product: Gentoo Linux Reporter: Sven Schwyn (svoop) <gentoo>
Component: New packagesAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: djc, lu_zero, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    

Description Sven Schwyn (svoop) 2011-12-04 12:18:37 UTC
Init scripts should migrate from opts to extra_commands or extra_started_commands. Since opts in init scripts now triggers a deprecation warning, the following line in files/redis.initd should be dealt with:

opts="start stop restart"

I believe this line is obsolete since these three commands are default anyway.
Comment 1 Johan Bergström 2011-12-04 12:38:43 UTC
Thanks for the report.

I just removed opts from my init script and it seems to work well.
Comment 2 Johan Bergström 2011-12-26 21:25:32 UTC
Fixored ~3w ago.