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
244 ✓ IOReadBandwidthMax=
245 ✓ IOWriteBandwidthMax=
250 ✓ StartupBlockIOWeight=
251 ✓ BlockIODeviceWeight=
252 ✓ BlockIOReadBandwidth=
253 ✓ BlockIOWriteBandwidth=
257 ✓ DisableControllers=
263 ## Process Killing Settings
265 All process killing settings are available for transient units:
276 ## Service Unit Settings
278 Most service unit settings are available for transient units.
297 ✓ RootDirectoryStartOnly=
300 ✓ RestartPreventExitStatus=
301 ✓ RestartForceExitStatus=
305 ✓ FileDescriptorStoreMax=
308 ✓ USBFunctionDescriptors=
309 ✓ USBFunctionStrings=
312 ## Mount Unit Settings
314 All mount unit settings are available to transient units:
328 ## Automount Unit Settings
330 All automount unit setting is available to transient units:
338 ## Timer Unit Settings
340 Most timer unit settings are available to transient units.
355 ✓ RandomizedDelaySec=
359 ## Slice Unit Settings
361 Slice units are fully supported as transient units, but they have no settings
362 of their own beyond the generic unit and resource control settings.
364 ## Scope Unit Settings
366 Scope units are fully supported as transient units (in fact they only exist as
373 ## Socket Unit Settings
375 Most socket unit settings are available to transient units.
380 ✓ ListenSequentialPacket=
384 ✓ ListenMessageQueue=
402 ✓ MaxConnectionsPerSource=
405 ✓ KeepAliveIntervalSec=
423 ✓ MessageQueueMaxMessages=
424 ✓ MessageQueueMessageSize=
427 ✓ FileDescriptorName=
429 ✓ TriggerLimitIntervalSec=
434 ✓ SELinuxContextFromNet=
437 ## Swap Unit Settings
439 Swap units are currently not available at all as transient units:
448 ## Path Unit Settings
450 Most path unit settings are available to transient units.
465 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.