systemd for administrators - script conversion
The third
installment of Lennart Poettering's "systemd for administrators" series
has been posted; this one focuses on converting SYSV init scripts to
systemd. "
And that's all there is to it. We have a simple systemd service file now that encodes in 10 lines more information than the original SysV init script encoded in 115. And even now there's a lot of room left for further improvement utilizing more features systemd offers. For example, we could set Restart=restart-always to tell systemd to automatically restart this service when it dies. Or, we could use OOMScoreAdjust=-500 to ask the kernel to please leave this process around when the OOM killer wreaks havoc."