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=
71 ✓ ConditionVirtualization=
73 ✓ ConditionCapability=
78 ✓ ConditionControlGroupController=
80 ✓ AssertPathExistsGlob=
81 ✓ AssertPathIsDirectory=
82 ✓ AssertPathIsSymbolicLink=
83 ✓ AssertPathIsMountPoint=
84 ✓ AssertPathIsReadWrite=
85 ✓ AssertDirectoryNotEmpty=
87 ✓ AssertFileIsExecutable=
90 ✓ AssertKernelCommandLine=
91 ✓ AssertKernelVersion=
93 ✓ AssertVirtualization=
100 ✓ AssertControlGroupController=
104 ## Execution-Related Settings
106 All execution-related settings are available for transient units.
114 ✓ SupplementaryGroups=
119 ✓ IOSchedulingPriority=
120 ✓ CPUSchedulingPolicy=
121 ✓ CPUSchedulingPriority=
122 ✓ CPUSchedulingResetOnFork=
146 ✓ LogRateLimitIntervalSec=
149 ✓ CapabilityBoundingSet=
150 ✓ AmbientCapabilities=
157 ✓ SystemCallArchitectures=
158 ✓ SystemCallErrorNumber=
160 ✓ MemoryDenyWriteExecute=
161 ✓ RestrictNamespaces=
164 ✓ RestrictAddressFamilies=
190 ✓ TemporaryFileSystem=
194 ✓ ProtectKernelTunables=
195 ✓ ProtectKernelModules=
197 ✓ ProtectControlGroups=
206 ✓ RuntimeDirectoryPreserve=
207 ✓ RuntimeDirectoryMode=
209 ✓ StateDirectoryMode=
211 ✓ CacheDirectoryMode=
215 ✓ ConfigurationDirectoryMode=
216 ✓ ConfigurationDirectory=
227 ## Resource Control Settings
229 All cgroup/resource control settings are available for transient units
240 ✓ AllowedMemoryNodes=
256 ✓ IOReadBandwidthMax=
257 ✓ IOWriteBandwidthMax=
262 ✓ StartupBlockIOWeight=
263 ✓ BlockIODeviceWeight=
264 ✓ BlockIOReadBandwidth=
265 ✓ BlockIOWriteBandwidth=
269 ✓ DisableControllers=
274 ✓ ManagedOOMMemoryPressure=
275 ✓ ManagedOOMMemoryPressureLimitPercent=
278 ## Process Killing Settings
280 All process killing settings are available for transient units:
292 ## Service Unit Settings
294 Most service unit settings are available for transient units.
305 ✓ FileDescriptorStoreMax=
313 ✓ RestartForceExitStatus=
314 ✓ RestartPreventExitStatus=
316 ✓ RootDirectoryStartOnly=
322 ✓ TimeoutStartFailureMode=
324 ✓ TimeoutStopFailureMode=
327 ✓ USBFunctionDescriptors=
328 ✓ USBFunctionStrings=
332 ## Mount Unit Settings
334 All mount unit settings are available to transient units:
349 ## Automount Unit Settings
351 All automount unit setting is available to transient units:
359 ## Timer Unit Settings
361 Most timer unit settings are available to transient units.
376 ✓ RandomizedDelaySec=
380 ## Slice Unit Settings
382 Slice units are fully supported as transient units, but they have no settings
383 of their own beyond the generic unit and resource control settings.
385 ## Scope Unit Settings
387 Scope units are fully supported as transient units (in fact they only exist as
395 ## Socket Unit Settings
397 Most socket unit settings are available to transient units.
402 ✓ ListenSequentialPacket=
406 ✓ ListenMessageQueue=
425 ✓ MaxConnectionsPerSource=
428 ✓ KeepAliveIntervalSec=
447 ✓ MessageQueueMaxMessages=
448 ✓ MessageQueueMessageSize=
451 ✓ FileDescriptorName=
453 ✓ TriggerLimitIntervalSec=
458 ✓ SELinuxContextFromNet=
461 ## Swap Unit Settings
463 Swap units are currently not available at all as transient units:
472 ## Path Unit Settings
474 Most path unit settings are available to transient units.
489 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.