Mapping an upstart job to a init.d script (sssd)
sgallagh at redhat.com
Wed May 12 10:49:51 UTC 2010
I'd like to note that the SSSD itself carries an example init script for
Fedora and SUSE in the src/sysv directory of the tarball. (Arguably we
should move that to the contrib directory so it's easier to find)
This might be a better place to start than trying to reverse-engineer
Ubuntu's upstart script.
Petter Reinholdtsen wrote:
> I am currently looking at the sssd package from Ubuntu, which only
> provide an upstart job in the package. As a test, I tried to convert
> it to an init.d script, to see how easy it is to generate an init.d
> script from a simple upstart job. Here are both examples. Is this a
> sensible conversion?
> I had to use my knowledge to come up with runlevels and dependency
> information (surprised sssd should not start after the syslog
> collector is operational on Ubuntu, and fail to stop in runlevel 1).
> I also had to find the location of the binary from the package.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
More information about the initscripts-ng-devel