systemd vice SysV/LSB init systems - what next ?
"Jóhann B. Guðmundsson"
johannbg at gmail.com
Tue Jul 19 19:08:24 UTC 2011
On 07/19/2011 06:43 PM, Jeff Spaleta wrote:
> 2011/7/19 "Jóhann B. Guðmundsson"<johannbg at gmail.com>:
>> Hum best is to provide you with example which daemon do you maintain I can
>> convert it for you and provide it to you as an example anyway here's an
>> example of a systemd unit that I converted sometime ago for a know
>> application named tomcat6 and I'll leave readers to be the judge of that
>> what is harder to understand the native systemd unit or the legacy sysv init
>> script...
> [snip for brevity]
>
>
> What did you do about those specialized functions: findFreePorts
> makeHomeDir and parseOptions? Did you move those functions elsewhere?
Nope..
This unit file is just laying around in bugzilla as so many of them but
if the maintainers actually need that stuff they would probably throw it
in /usr/sbin/tomcat6 which is where the actual start magic is happening...
JBG
More information about the devel
mailing list