mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
41b7fcc5e8
If a service defines Delegate=yes, its subcgroup won't inherit the LogFilterPatterns= option, because the option is stored on the unit's cgroup attributes, not on the subcgroup. Fixed by using the unit's cgroup attributes instead.
9 lines
202 B
Desktop File
9 lines
202 B
Desktop File
[Unit]
|
|
Description=Test service for delegated logs filtering
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/lib/systemd/tests/testdata/units/delegated_cgroup_filtering_payload.sh
|
|
Delegate=yes
|
|
SyslogLevel=notice
|