2 title: What Settings Are Currently Available For Transient Units?
7 # What Settings Are Currently Available For Transient Units?
9 Our intention is to make all settings that are available as unit file settings
10 also available for transient units, through the D-Bus API. At the moment,
11 device, swap, and target units are not supported at all as transient units, but
12 others are pretty well supported.
14 The lists below contain all settings currently available in unit files. The
15 ones currently available in transient units are prefixed with `✓`.
17 ## Generic Unit Settings
19 Most generic unit settings are available for transient units.
34 ✓ ReloadPropagatedFrom=
42 ✓ DefaultDependencies=
46 ✓ JobRunningTimeoutSec=
48 ✓ JobTimeoutRebootArgument=
49 ✓ StartLimitIntervalSec=
54 ✓ FailureActionExitStatus=
55 ✓ SuccessActionExitStatus=
57 ✓ ConditionPathExists=
58 ✓ ConditionPathExistsGlob=
59 ✓ ConditionPathIsDirectory=
60 ✓ ConditionPathIsSymbolicLink=
61 ✓ ConditionPathIsMountPoint=
62 ✓ ConditionPathIsReadWrite=
63 ✓ ConditionDirectoryNotEmpty=
64 ✓ ConditionFileNotEmpty=
65 ✓ ConditionFileIsExecutable=
66 ✓ ConditionNeedsUpdate=
68 ✓ ConditionKernelCommandLine=
69 ✓ ConditionKernelVersion=
70 ✓ ConditionArchitecture=
72 ✓ ConditionVirtualization=
74 ✓ ConditionCapability=
79 ✓ ConditionControlGroupController=
81 ✓ AssertPathExistsGlob=
82 ✓ AssertPathIsDirectory=
83 ✓ AssertPathIsSymbolicLink=
84 ✓ AssertPathIsMountPoint=
85 ✓ AssertPathIsReadWrite=
86 ✓ AssertDirectoryNotEmpty=
88 ✓ AssertFileIsExecutable=
91 ✓ AssertKernelCommandLine=
92 ✓ AssertKernelVersion=
94 ✓ AssertVirtualization=
101 ✓ AssertControlGroupController=
105 ## Execution-Related Settings
107 All execution-related settings are available for transient units.
115 ✓ SupplementaryGroups=
120 ✓ IOSchedulingPriority=
121 ✓ CPUSchedulingPolicy=
122 ✓ CPUSchedulingPriority=
123 ✓ CPUSchedulingResetOnFork=
147 ✓ LogRateLimitIntervalSec=
150 ✓ CapabilityBoundingSet=
151 ✓ AmbientCapabilities=
158 ✓ SystemCallArchitectures=
159 ✓ SystemCallErrorNumber=
161 ✓ MemoryDenyWriteExecute=
162 ✓ RestrictNamespaces=
165 ✓ RestrictAddressFamilies=
191 ✓ TemporaryFileSystem=
195 ✓ ProtectKernelTunables=
196 ✓ ProtectKernelModules=
198 ✓ ProtectControlGroups=
207 ✓ RuntimeDirectoryPreserve=
208 ✓ RuntimeDirectoryMode=
210 ✓ StateDirectoryMode=
212 ✓ CacheDirectoryMode=
216 ✓ ConfigurationDirectoryMode=
217 ✓ ConfigurationDirectory=
228 ## Resource Control Settings
230 All cgroup/resource control settings are available for transient units
241 ✓ AllowedMemoryNodes=
257 ✓ IOReadBandwidthMax=
258 ✓ IOWriteBandwidthMax=
263 ✓ StartupBlockIOWeight=
264 ✓ BlockIODeviceWeight=
265 ✓ BlockIOReadBandwidth=
266 ✓ BlockIOWriteBandwidth=
270 ✓ DisableControllers=
275 ✓ ManagedOOMMemoryPressure=
276 ✓ ManagedOOMMemoryPressureLimit=
277 ✓ ManagedOOMPreference=
280 ## Process Killing Settings
282 All process killing settings are available for transient units:
294 ## Service Unit Settings
296 Most service unit settings are available for transient units.
308 ✓ FileDescriptorStoreMax=
316 ✓ RestartForceExitStatus=
317 ✓ RestartPreventExitStatus=
319 ✓ RootDirectoryStartOnly=
325 ✓ TimeoutStartFailureMode=
327 ✓ TimeoutStopFailureMode=
330 ✓ USBFunctionDescriptors=
331 ✓ USBFunctionStrings=
335 ## Mount Unit Settings
337 All mount unit settings are available to transient units:
352 ## Automount Unit Settings
354 All automount unit setting is available to transient units:
362 ## Timer Unit Settings
364 Most timer unit settings are available to transient units.
379 ✓ RandomizedDelaySec=
384 ## Slice Unit Settings
386 Slice units are fully supported as transient units, but they have no settings
387 of their own beyond the generic unit and resource control settings.
389 ## Scope Unit Settings
391 Scope units are fully supported as transient units (in fact they only exist as
399 ## Socket Unit Settings
401 Most socket unit settings are available to transient units.
406 ✓ ListenSequentialPacket=
410 ✓ ListenMessageQueue=
429 ✓ MaxConnectionsPerSource=
432 ✓ KeepAliveIntervalSec=
451 ✓ MessageQueueMaxMessages=
452 ✓ MessageQueueMessageSize=
455 ✓ FileDescriptorName=
457 ✓ TriggerLimitIntervalSec=
462 ✓ SELinuxContextFromNet=
465 ## Swap Unit Settings
467 Swap units are currently not available at all as transient units:
476 ## Path Unit Settings
478 Most path unit settings are available to transient units.
493 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.