Content-Length: 8601 | pFad | http://lwn.net/Articles/702132/

Systemd programming, 30 months later [LWN.net]
|
|
Subscribe / Log in / New account

Systemd programming, 30 months later

Systemd programming, 30 months later

Posted Sep 28, 2016 21:18 UTC (Wed) by rahvin (guest, #16953)
In reply to: Systemd programming, 30 months later by bandrami
Parent article: Systemd programming, 30 months later

Your forgot the 20 lines of sleep commands to make sure the daemon has time to load, the 50 lines of code to verify the daemon didn't crash and the mount is up before the second mount command runs. Then the 50 lines of code to handle restarting and shutting down these in the reverse order, etc.

As he said, you replace the sysv init script with your own custom script. And then you reinvent the wheel every single time. Some of us would prefer not to do that. I like that this upstream service file takes care of all but the freakiest edge case. 99/100 I won't even need to touch these system files now.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://lwn.net/Articles/702132/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy