mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
Currently, our test logs are flooded with useless NSS varlink debug logs coming from nss-systemd talking to each varlink userdb service individually. Let's set SYSTEMD_NSS_LOG_LEVEL=info to get rid of these verbose logs.
17 lines
436 B
SYSTEMD
17 lines
436 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
[Unit]
|
|
Description=%N
|
|
Wants=basic.target network.target @wants@
|
|
After=basic.target network.target @after@
|
|
@unit@
|
|
|
|
[Service]
|
|
ExecStartPre=rm -f /failed /testok
|
|
ExecStart=@command@
|
|
ExecStartPost=/usr/lib/systemd/tests/testdata/units/post.sh
|
|
Type=oneshot
|
|
MemoryAccounting=@memory-accounting@
|
|
Environment=SYSTEMD_PAGER= SYSTEMD_NSS_LOG_LEVEL=info @env@
|
|
UnsetEnvironment=JOURNAL_STREAM
|
|
@service@
|