[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A few observations about systemd



]] Stephan Seitz 

Hi,

| I don’t know if files in /etc/default are Debian specific ones, but
| sometimes you need to change start parameters of the daemon. One
| example is sasldauth. If you have postfix in a chroot environemnt
| (standard Debian), you need to change the parameter for the named
| socket.

They are debian specific.

| So you need a configuration file at least for certain daemons to
| change options for the daemon start.

Then either .include the file from /lib/systemd/system and override the
settings you need or copy and edit the file.

| Well, that is fine. I often disable a service by putting a „exit 0” in
| its init script, if I don’t want to always run this service. But why
| are the unit files not configuration files to begin with like init
| scripts?  In my eyes they all belong in /etc.

ln -s /dev/null /etc/systemd/system/foo.service disables a service.

(This will be «systemctl mask foo.service» once somebody gets around to
writing the code.)

Regards,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


Reply to: