On 07/19/2011 06:43 PM, Jeff Spaleta wrote: > 2011/7/19 "Jóhann B. Guðmundsson"<johannbg@xxxxxxxxx>: >> 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 -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel