Zum Inhalt springen

/etc/systemd/system.conf: Unterschied zwischen den Versionen

Aus Foxwiki
Die Seite wurde neu angelegt: „<syntaxhighlight lang="bash" highlight="0" line> # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it under the # terms of the GNU Lesser General Public License as published by the Free # Software Foundation; either version 2.1 of the License, or (at your option) # any later version. # # Entries in this file show the compile time defaults. Local configuration # should be created by either modifying th…“
 
K Textersetzung - „line>“ durch „line copy>“
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<syntaxhighlight lang="bash" highlight="0" line>
'''/etc/systemd/system.conf'''
 
== Beschreibung ==
[[/etc/systemd/system.conf]] ist Teil von [[systemd]]
 
=== Standardwerte ===
Einträge zeigen Standardwerte
* Bei der Kompilierung festgelegt
 
=== Lokale Konfiguration ===
* Änderung dieser Datei (oder einer Kopie davon in /etc/, wenn die Originaldatei in /usr/ abgelegt ist)
* Erstellung von „Drop-Ins“ im Verzeichnis /etc/systemd/system.conf.d/
; Hinweis
<blockquote>
Letzteres wird im Allgemeinen empfohlen
</blockquote>
 
=== Hauptkonfigurationsdatei ==
Die Standardwerte können durch einfaches Löschen der Hauptkonfigurationsdatei und alle in /etc/ befindlichen Drop-Ins
 
=== Konfiguration anzuzeigen ===
Verwenden Sie „systemd-analyze cat-config systemd/system.conf“, um die vollständige Konfiguration anzuzeigen
 
== Beispiel ==
<syntaxhighlight lang="bash" highlight="0" line copy>
#  This file is part of systemd.
#  This file is part of systemd.
#
#
Zeile 85: Zeile 109:
#ReloadLimitBurst=
#ReloadLimitBurst=
</syntaxhighlight>
</syntaxhighlight>
<noinclude>
== Anhang ==
=== Siehe auch ===
{{Special:PrefixIndex/{{BASEPAGENAME}}/}}
* [[Systemd/Konfiguration]]
=== Links ===
==== Weblinks ====
[[Kategorie:Systemd]]
</noinclude>

Aktuelle Version vom 11. Mai 2025, 13:42 Uhr

/etc/systemd/system.conf

Beschreibung

/etc/systemd/system.conf ist Teil von systemd

Standardwerte

Einträge zeigen Standardwerte

  • Bei der Kompilierung festgelegt

Lokale Konfiguration

  • Änderung dieser Datei (oder einer Kopie davon in /etc/, wenn die Originaldatei in /usr/ abgelegt ist)
  • Erstellung von „Drop-Ins“ im Verzeichnis /etc/systemd/system.conf.d/
Hinweis

Letzteres wird im Allgemeinen empfohlen

= Hauptkonfigurationsdatei

Die Standardwerte können durch einfaches Löschen der Hauptkonfigurationsdatei und alle in /etc/ befindlichen Drop-Ins

Konfiguration anzuzeigen

Verwenden Sie „systemd-analyze cat-config systemd/system.conf“, um die vollständige Konfiguration anzuzeigen

Beispiel

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it under the
#  terms of the GNU Lesser General Public License as published by the Free
#  Software Foundation; either version 2.1 of the License, or (at your option)
#  any later version.
#
# Entries in this file show the compile time defaults. Local configuration
# should be created by either modifying this file (or a copy of it placed in
# /etc/ if the original file is shipped in /usr/), or by creating "drop-ins" in
# /etc/systemd/system.conf.d/ directory. The latter is generally recommended.
# Defaults can be restored by simply deleting the main configuration file and
# all drop-ins located in /etc/.
#
# Use 'systemd-analyze cat-config systemd/system.conf' to display the full config.
#
# See systemd-system.conf(5) for details.

[Manager]
#LogLevel=info
#LogTarget=journal-or-kmsg
#LogColor=yes
#LogLocation=no
#LogTime=no
#DumpCore=yes
#ShowStatus=yes
#CrashChangeVT=no
#CrashShell=no
#CrashAction=freeze
#CtrlAltDelBurstAction=reboot-force
#CPUAffinity=
#NUMAPolicy=default
#NUMAMask=
#RuntimeWatchdogSec=off
#RuntimeWatchdogPreSec=off
#RuntimeWatchdogPreGovernor=
#RebootWatchdogSec=10min
#KExecWatchdogSec=off
#WatchdogDevice=
#CapabilityBoundingSet=
#NoNewPrivileges=no
#ProtectSystem=auto
#SystemCallArchitectures=
#TimerSlackNSec=
#StatusUnitFormat=combined
#DefaultTimerAccuracySec=1min
#DefaultStandardOutput=journal
#DefaultStandardError=inherit
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
#DefaultTimeoutAbortSec=
#DefaultDeviceTimeoutSec=90s
#DefaultRestartSec=100ms
#DefaultStartLimitIntervalSec=10s
#DefaultStartLimitBurst=5
#DefaultEnvironment=
#DefaultCPUAccounting=yes
#DefaultIOAccounting=no
#DefaultIPAccounting=no
#DefaultMemoryAccounting=yes
#DefaultTasksAccounting=yes
#DefaultTasksMax=15%
#DefaultLimitCPU=
#DefaultLimitFSIZE=
#DefaultLimitDATA=
#DefaultLimitSTACK=
#DefaultLimitCORE=
#DefaultLimitRSS=
#DefaultLimitNOFILE=1024:524288
#DefaultLimitAS=
#DefaultLimitNPROC=
#DefaultLimitMEMLOCK=8M
#DefaultLimitLOCKS=
#DefaultLimitSIGPENDING=
#DefaultLimitMSGQUEUE=
#DefaultLimitNICE=
#DefaultLimitRTPRIO=
#DefaultLimitRTTIME=
#DefaultMemoryPressureThresholdSec=200ms
#DefaultMemoryPressureWatch=auto
#DefaultOOMPolicy=stop
#DefaultSmackProcessLabel=
#ReloadLimitIntervalSec=
#ReloadLimitBurst=


Anhang

Siehe auch

Links

Weblinks