mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 18:48:33 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/linux/systemctl-log-target
Normal file
17
tldr/linux/systemctl-log-target
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# systemctl log-target
|
||||
|
||||
> Get or set the log target for the systemd manager.
|
||||
> More information: <https://www.freedesktop.org/software/systemd/man/systemctl.html#log-target%20[TARGET]>.
|
||||
|
||||
- Show the current log target of the systemd manager:
|
||||
|
||||
`systemctl log-target`
|
||||
|
||||
- Set the manager's log target:
|
||||
|
||||
`systemctl log-target {{journal-or-kmsg|journal|kmsg|console|syslog|null|auto}}`
|
||||
Reference in New Issue
Block a user