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

Bug 500980

Summary: net-misc/stuntman - updated init script
Product: Gentoo Linux Reporter: Jaco Kroon <jaco>
Component: [OLD] ServerAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: stuntman - init script
initd.v2
confd file

Description Jaco Kroon 2014-02-11 13:09:38 UTC
I've updated (improved) the stuntman init script to include support for passing custom parameters from conf.d/ as well as typed up a sample confd file, both of which can be included as a -r1 for stuntman.  Production tested on two machines.

Reproducible: Always
Comment 1 Jaco Kroon 2014-02-11 13:10:37 UTC
Created attachment 370144 [details]
stuntman - init script
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-02-11 13:20:52 UTC
Created attachment 370146 [details]
initd.v2

Excessively improved init script which uses openrc's template system (no, the lack of start/stop functions is no mistake).
If you need explanation of the used variables you can refer to "man runscript" or simply ask me :)
Comment 3 Jaco Kroon 2014-02-11 13:30:38 UTC
Created attachment 370152 [details]
confd file

This can be installed as /etc/conf.d/stuntman
Comment 4 Jaco Kroon 2014-02-11 14:29:56 UTC
I'm happy with the init script from Lars, didn't test it but I've recently started writing my own init scripts in similar fashion, was just too lazy to completely convert the stuntman one :).

Looks good thanks Lars.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-02-18 19:11:59 UTC
+*stuntman-1.2.6-r1 (18 Feb 2014)
+
+  18 Feb 2014; Lars Wendler <polynomial-c@gentoo.org>
+  +stuntman-1.2.6-r1.ebuild, +files/stuntman.confd, +files/stuntman.initd:
+  Revbump to add rewritten init script along with a confd file. Thanks to Jaco
+  Kroon (bug #500980). Permission kindly granted by Chainsaw.
+