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=
275 ## Process Killing Settings
277 All process killing settings are available for transient units:
289 ## Service Unit Settings
291 Most service unit settings are available for transient units.
302 ✓ FileDescriptorStoreMax=
310 ✓ RestartForceExitStatus=
311 ✓ RestartPreventExitStatus=
313 ✓ RootDirectoryStartOnly=
319 ✓ TimeoutStartFailureMode=
321 ✓ TimeoutStopFailureMode=
324 ✓ USBFunctionDescriptors=
325 ✓ USBFunctionStrings=
329 ## Mount Unit Settings
331 All mount unit settings are available to transient units:
346 ## Automount Unit Settings
348 All automount unit setting is available to transient units:
356 ## Timer Unit Settings
358 Most timer unit settings are available to transient units.
373 ✓ RandomizedDelaySec=
377 ## Slice Unit Settings
379 Slice units are fully supported as transient units, but they have no settings
380 of their own beyond the generic unit and resource control settings.
382 ## Scope Unit Settings
384 Scope units are fully supported as transient units (in fact they only exist as
392 ## Socket Unit Settings
394 Most socket unit settings are available to transient units.
399 ✓ ListenSequentialPacket=
403 ✓ ListenMessageQueue=
422 ✓ MaxConnectionsPerSource=
425 ✓ KeepAliveIntervalSec=
444 ✓ MessageQueueMaxMessages=
445 ✓ MessageQueueMessageSize=
448 ✓ FileDescriptorName=
450 ✓ TriggerLimitIntervalSec=
455 ✓ SELinuxContextFromNet=
458 ## Swap Unit Settings
460 Swap units are currently not available at all as transient units:
469 ## Path Unit Settings
471 Most path unit settings are available to transient units.
486 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.