3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/services/system
Florian Klink 962e15aebc nixos: remove StandardOutput=syslog, StandardError=syslog lines
Since systemd 243, docs were already steering users towards using
`journal`:

eedaf7f322

systemd 246 will go one step further, it shows warnings for these units
during bootup, and will [automatically convert these occurences to
`journal`](f3dc6af20f):

> [    6.955976] systemd[1]: /nix/store/hwyfgbwg804vmr92fxc1vkmqfq2k9s17-unit-display-manager.service/display-manager.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update│······················
 your unit file, and consider removing the setting altogether.

So there's no point of keeping `syslog` here, and it's probably a better
idea to just not set it, due to:

> This setting defaults to the value set with DefaultStandardOutput= in
> systemd-system.conf(5), which defaults to journal.
2020-08-13 18:49:15 +02:00
..
kerberos treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
cloud-init.nix nixos: remove dependencies on local-fs.target 2019-09-01 19:06:38 +02:00
dbus.nix treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
earlyoom.nix nixos: remove StandardOutput=syslog, StandardError=syslog lines 2020-08-13 18:49:15 +02:00
localtime.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00
nscd.conf nixos/nscd: set positive hosts caching ttl to 0 2020-06-01 01:12:43 +02:00
nscd.nix nixos/nscd: be more specific in the nscd.enable description on what breaks 2020-04-25 18:11:10 +02:00
saslauthd.nix
uptimed.nix treewide: add bool type to enable options, or make use of mkEnableOption 2020-04-21 08:55:36 +02:00