2011/7/19 "Jóhann B. Guðmundsson" <johannbg(a)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?