Skip to content

Commit b2efc2a

Browse files
authored
Add LogLevelMax=3 to sysmotd.service
As the service runs every minute, the following logs are generated at equal frequency. systemd[1]: Starting sysmotd.service - sysmotd service to update MOTD... systemd[1]: sysmotd.service: Deactivated successfully. systemd[1]: Finished sysmotd.service - sysmotd service to update MOTD. LogLevelMax=3 covers errors and above which is more useful
1 parent 7984a4f commit b2efc2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sysmotd/sysmotd.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ Type=oneshot
66
User=root
77
Group=root
88
RemainAfterExit=no
9-
ExecStart=/usr/libexec/sysmotd
9+
ExecStart=/usr/libexec/sysmotd
10+
LogLevelMax=3

0 commit comments

Comments
 (0)