2 title: What Settings Are Currently Available For Transient Units?
5 SPDX-License-Identifier: LGPL-2.1-or-later
8 # What Settings Are Currently Available For Transient Units?
10 Our intention is to make all settings that are available as unit file settings
11 also available for transient units, through the D-Bus API. At the moment,
12 device, swap, and target units are not supported at all as transient units, but
13 others are pretty well supported.
15 The lists below contain all settings currently available in unit files. The
16 ones currently available in transient units are prefixed with `✓`.
18 ## Generic Unit Settings
20 Most generic unit settings are available for transient units.
35 ✓ ReloadPropagatedFrom=
44 ✓ DefaultDependencies=
48 ✓ JobRunningTimeoutSec=
50 ✓ JobTimeoutRebootArgument=
51 ✓ StartLimitIntervalSec=
56 ✓ FailureActionExitStatus=
57 ✓ SuccessActionExitStatus=
59 ✓ ConditionPathExists=
60 ✓ ConditionPathExistsGlob=
61 ✓ ConditionPathIsDirectory=
62 ✓ ConditionPathIsSymbolicLink=
63 ✓ ConditionPathIsMountPoint=
64 ✓ ConditionPathIsReadWrite=
65 ✓ ConditionDirectoryNotEmpty=
66 ✓ ConditionFileNotEmpty=
67 ✓ ConditionFileIsExecutable=
68 ✓ ConditionNeedsUpdate=
70 ✓ ConditionKernelCommandLine=
71 ✓ ConditionKernelVersion=
72 ✓ ConditionArchitecture=
74 ✓ ConditionVirtualization=
76 ✓ ConditionCapability=
81 ✓ ConditionControlGroupController=
83 ✓ AssertPathExistsGlob=
84 ✓ AssertPathIsDirectory=
85 ✓ AssertPathIsSymbolicLink=
86 ✓ AssertPathIsMountPoint=
87 ✓ AssertPathIsReadWrite=
88 ✓ AssertDirectoryNotEmpty=
90 ✓ AssertFileIsExecutable=
93 ✓ AssertKernelCommandLine=
94 ✓ AssertKernelVersion=
96 ✓ AssertVirtualization=
103 ✓ AssertControlGroupController=
107 ## Execution-Related Settings
109 All execution-related settings are available for transient units.
117 ✓ SupplementaryGroups=
122 ✓ IOSchedulingPriority=
123 ✓ CPUSchedulingPolicy=
124 ✓ CPUSchedulingPriority=
125 ✓ CPUSchedulingResetOnFork=
152 ✓ LogRateLimitIntervalSec=
155 ✓ CapabilityBoundingSet=
156 ✓ AmbientCapabilities=
163 ✓ SystemCallArchitectures=
164 ✓ SystemCallErrorNumber=
166 ✓ MemoryDenyWriteExecute=
167 ✓ RestrictNamespaces=
170 ✓ RestrictAddressFamilies=
196 ✓ TemporaryFileSystem=
200 ✓ ProtectKernelTunables=
201 ✓ ProtectKernelModules=
203 ✓ ProtectControlGroups=
212 ✓ RuntimeDirectoryPreserve=
213 ✓ RuntimeDirectoryMode=
215 ✓ StateDirectoryMode=
217 ✓ CacheDirectoryMode=
221 ✓ ConfigurationDirectoryMode=
222 ✓ ConfigurationDirectory=
233 ## Resource Control Settings
235 All cgroup/resource control settings are available for transient units
246 ✓ StartupAllowedCPUs=
247 ✓ AllowedMemoryNodes=
248 ✓ StartupAllowedMemoryNodes=
264 ✓ IOReadBandwidthMax=
265 ✓ IOWriteBandwidthMax=
270 ✓ StartupBlockIOWeight=
271 ✓ BlockIODeviceWeight=
272 ✓ BlockIOReadBandwidth=
273 ✓ BlockIOWriteBandwidth=
277 ✓ DisableControllers=
282 ✓ ManagedOOMMemoryPressure=
283 ✓ ManagedOOMMemoryPressureLimit=
284 ✓ ManagedOOMPreference=
288 ## Process Killing Settings
290 All process killing settings are available for transient units:
302 ## Service Unit Settings
304 Most service unit settings are available for transient units.
316 ✓ FileDescriptorStoreMax=
324 ✓ RestartForceExitStatus=
325 ✓ RestartPreventExitStatus=
327 ✓ RootDirectoryStartOnly=
329 ✓ RuntimeRandomizedExtraSec=
334 ✓ TimeoutStartFailureMode=
336 ✓ TimeoutStopFailureMode=
339 ✓ USBFunctionDescriptors=
340 ✓ USBFunctionStrings=
344 ## Mount Unit Settings
346 All mount unit settings are available to transient units:
361 ## Automount Unit Settings
363 All automount unit setting is available to transient units:
371 ## Timer Unit Settings
373 Most timer unit settings are available to transient units.
388 ✓ RandomizedDelaySec=
393 ## Slice Unit Settings
395 Slice units are fully supported as transient units, but they have no settings
396 of their own beyond the generic unit and resource control settings.
398 ## Scope Unit Settings
400 Scope units are fully supported as transient units (in fact they only exist as
405 ✓ RuntimeRandomizedExtraSec=
409 ## Socket Unit Settings
411 Most socket unit settings are available to transient units.
416 ✓ ListenSequentialPacket=
420 ✓ ListenMessageQueue=
439 ✓ MaxConnectionsPerSource=
442 ✓ KeepAliveIntervalSec=
461 ✓ MessageQueueMaxMessages=
462 ✓ MessageQueueMessageSize=
465 ✓ FileDescriptorName=
467 ✓ TriggerLimitIntervalSec=
472 ✓ SELinuxContextFromNet=
475 ## Swap Unit Settings
477 Swap units are currently not available at all as transient units:
486 ## Path Unit Settings
488 Most path unit settings are available to transient units.
503 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.