2 title: What settings are currently available for transient units?
5 # What settings are currently available for transient units?
7 Our intention is to make all settings that are available as unit file settings
8 also available for transient units, through the D-Bus API. At the moment, some
9 unit types (device, swap, target) are not supported at all via unit types,
10 but most others are pretty well supported, with some notable omissions.
12 The lists below contain all settings currently available in unit files. The
13 ones currently available in transient units are prefixed with `✓`.
15 ## Generic Unit Settings
17 Most generic unit settings are available for transient units.
32 ✓ ReloadPropagatedFrom=
40 ✓ DefaultDependencies=
44 ✓ JobRunningTimeoutSec=
46 ✓ JobTimeoutRebootArgument=
47 ✓ StartLimitIntervalSec=SECONDS
48 ✓ StartLimitBurst=UNSIGNED
49 ✓ StartLimitAction=ACTION
52 ✓ FailureActionExitStatus=
53 ✓ SuccessActionExitStatus=
55 ✓ RebootArgument=STRING
56 ✓ ConditionPathExists=
57 ✓ ConditionPathExistsGlob=
58 ✓ ConditionPathIsDirectory=
59 ✓ ConditionPathIsSymbolicLink=
60 ✓ ConditionPathIsMountPoint=
61 ✓ ConditionPathIsReadWrite=
62 ✓ ConditionDirectoryNotEmpty=
63 ✓ ConditionFileNotEmpty=
64 ✓ ConditionFileIsExecutable=
65 ✓ ConditionNeedsUpdate=
67 ✓ ConditionKernelCommandLine=
68 ✓ ConditionKernelVersion=
69 ✓ ConditionArchitecture=
70 ✓ ConditionVirtualization=
72 ✓ ConditionCapability=
77 ✓ ConditionControlGroupController=
79 ✓ AssertPathExistsGlob=
80 ✓ AssertPathIsDirectory=
81 ✓ AssertPathIsSymbolicLink=
82 ✓ AssertPathIsMountPoint=
83 ✓ AssertPathIsReadWrite=
84 ✓ AssertDirectoryNotEmpty=
86 ✓ AssertFileIsExecutable=
89 ✓ AssertKernelCommandLine=
90 ✓ AssertKernelVersion=
92 ✓ AssertVirtualization=
99 ✓ AssertControlGroupController=
103 ## Execution-Related Settings
105 All execution-related settings are available for transient units.
113 ✓ SupplementaryGroups=
117 ✓ IOSchedulingPriority=
118 ✓ CPUSchedulingPolicy=
119 ✓ CPUSchedulingPriority=
120 ✓ CPUSchedulingResetOnFork=
144 ✓ LogRateLimitIntervalSec=
147 ✓ CapabilityBoundingSet=
148 ✓ AmbientCapabilities=
153 ✓ SystemCallArchitectures=
154 ✓ SystemCallErrorNumber=
155 ✓ MemoryDenyWriteExecute=
156 ✓ RestrictNamespaces=
159 ✓ RestrictAddressFamilies=
182 ✓ TemporaryFileSystem=
186 ✓ ProtectKernelTunables=
187 ✓ ProtectKernelModules=
188 ✓ ProtectControlGroups=
196 ✓ RuntimeDirectoryPreserve=
197 ✓ RuntimeDirectoryMode=
199 ✓ StateDirectoryMode=
201 ✓ CacheDirectoryMode=
205 ✓ ConfigurationDirectoryMode=
206 ✓ ConfigurationDirectory=
217 ## Resource Control Settings
219 All cgroup/resource control settings are available for transient units
243 ✓ IOReadBandwidthMax=
244 ✓ IOWriteBandwidthMax=
249 ✓ StartupBlockIOWeight=
250 ✓ BlockIODeviceWeight=
251 ✓ BlockIOReadBandwidth=
252 ✓ BlockIOWriteBandwidth=
256 ✓ DisableControllers=
262 ## Process Killing Settings
264 All process killing settings are available for transient units:
275 ## Service Unit Settings
277 Most service unit settings are available for transient units.
296 ✓ RootDirectoryStartOnly=
299 ✓ RestartPreventExitStatus=
300 ✓ RestartForceExitStatus=
304 ✓ FileDescriptorStoreMax=
307 ✓ USBFunctionDescriptors=
308 ✓ USBFunctionStrings=
311 ## Mount Unit Settings
313 All mount unit settings are available to transient units:
327 ## Automount Unit Settings
329 All automount unit setting is available to transient units:
337 ## Timer Unit Settings
339 Most timer unit settings are available to transient units.
354 ✓ RandomizedDelaySec=
358 ## Slice Unit Settings
360 Slice units are fully supported as transient units, but they have no settings
361 of their own beyond the generic unit and resource control settings.
363 ## Scope Unit Settings
365 Scope units are fully supported as transient units (in fact they only exist as
372 ## Socket Unit Settings
374 Most socket unit settings are available to transient units.
379 ✓ ListenSequentialPacket=
383 ✓ ListenMessageQueue=
401 ✓ MaxConnectionsPerSource=
404 ✓ KeepAliveIntervalSec=
422 ✓ MessageQueueMaxMessages=
423 ✓ MessageQueueMessageSize=
426 ✓ FileDescriptorName=
428 ✓ TriggerLimitIntervalSec=
433 ✓ SELinuxContextFromNet=
436 ## Swap Unit Settings
438 Swap units are currently not available at all as transient units:
447 ## Path Unit Settings
449 Most path unit settings are available to transient units.
464 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.