Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59878 - (New Package request) restartd - restart init.d scripts if they die
Summary: (New Package request) restartd - restart init.d scripts if they die
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://packages.debian.org/unstable/u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-09 10:35 UTC by Mike Fox
Modified: 2005-10-13 21:34 UTC (History)
2 users (show)

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


Attachments
restartd-0.1_alpha.ebuild (restartd-0.1_alpha.ebuild,837 bytes, text/plain)
2004-12-15 13:49 UTC, Marcelo Goes (RETIRED)
Details
patch to various files (restartd-0.1-gentoo.diff,1.56 KB, patch)
2004-12-15 13:49 UTC, Marcelo Goes (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Fox 2004-08-09 10:35:08 UTC
I built the debian restartd package on Gentoo and it seemed to work. Since this package is a stop-gap measure untill I fix my application bugs I have not had time to do a more formal ebuild submission. Consider this a suggestion.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2004-12-15 00:54:27 UTC
Talk a look at http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml - ebuild guide and see if you can create an ebuild for it.
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2004-12-15 13:49:13 UTC
Created attachment 46073 [details]
restartd-0.1_alpha.ebuild

I had problems with the names of the package. Someone please check if I did it
correctly.
I'm also including a patch to make the script more Gentoo-friendly by using
/etc/conf.d/
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2004-12-15 13:49:40 UTC
Created attachment 46074 [details, diff]
patch to various files
Comment 4 Marcelo Goes (RETIRED) gentoo-dev 2004-12-15 13:52:31 UTC
Note: I forgot to wipe out the header of the ebuild I copied as a skeleton.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-12-21 18:23:14 UTC
just out of interest, what does this provide that daemontools doesn't?

The config file move you have done there is in error.
/etc/conf.d/ is for configuration files that are used by the init scripts.

So you'd leave the application config file in /etc, and submit a gentoo init+conf script with the package. The file you place in init.d is NOT suitable for gentoo machines (We don't live in the rc.d world) try looking at one of the gentoo startup scripts for rsync. An example of using the gentoo conf.d file would be specifying the path to the config file that the application uses, or passing other runtime options.
Comment 6 SpanKY gentoo-dev 2005-10-13 21:34:01 UTC
cleaned up and added