On Tue, Mar 17, 2015 at 10:41 AM, Daniel Frey <djqf...@gmail.com> wrote: > On 03/17/2015 06:56 AM, Bob Wya wrote: >> I've not seen any that are OpenRC specific... But this one is pretty >> decent for SysVInit vs. systemd... >> http://linoxide.com/linux-command/systemd-vs-sysvinit-cheatsheet/ > > Yeah I found one similar to that, but located elsewhere. Maybe if I have > some time today I'll do some research and create an openrc-specific one > on the wiki. This way it'll help others (besides me.)
The cheat sheets are useful for reference, but I'd strongly encourage anybody using systemd to get a decent understanding of the fundamentals. I gave a presentation along these lines which can be found at: https://docs.google.com/presentation/d/1YpW7h-sUSXtmroppd-S46dxtPYo3rcF32rh7vF99aVs/edit?usp=sharing (granted, that wasn't really designed to stand completely on its own) Some key concepts you should understand: 1. Targets as "virtuals" - if you think about them the way you'd think about a virtual package you'll probably grok it. 2. Before/After/Wants/Requires and what they actually mean 3. Drop-ins 4. Creating dependencies using /etc/systemd/system/foo.xxx.d symlinks, and how these tie into enabling services Just as with openrc there are a lot of building blocks which are used to create a working configuration, there are many ways to do the same thing, and some of those ways are usually better than others. The overall design is somewhat different, so you need to look at things differently to make the most of it. -- Rich