1 # What settings are currently available for transient units?
3 Our intention is to make all settings that are available as unit file settings
4 also available for transient units, through the D-Bus API. At the moment, some
5 unit types (device, swap, target) are not supported at all via unit types,
6 but most others are pretty well supported, with some notable omissions.
8 The lists below contain all settings currently available in unit files. The
9 ones currently available in transient units are prefixed with `✓`.
11 ## Generic Unit Settings
13 Most generic unit settings are available for transient units.
28 ✓ ReloadPropagatedFrom=
36 ✓ DefaultDependencies=
40 ✓ JobRunningTimeoutSec=
42 ✓ JobTimeoutRebootArgument=
43 ✓ StartLimitIntervalSec=SECONDS
44 ✓ StartLimitBurst=UNSIGNED
45 ✓ StartLimitAction=ACTION
49 ✓ RebootArgument=STRING
50 ✓ ConditionPathExists=
51 ✓ ConditionPathExistsGlob=
52 ✓ ConditionPathIsDirectory=
53 ✓ ConditionPathIsSymbolicLink=
54 ✓ ConditionPathIsMountPoint=
55 ✓ ConditionPathIsReadWrite=
56 ✓ ConditionDirectoryNotEmpty=
57 ✓ ConditionFileNotEmpty=
58 ✓ ConditionFileIsExecutable=
59 ✓ ConditionNeedsUpdate=
61 ✓ ConditionKernelCommandLine=
62 ✓ ConditionKernelVersion=
63 ✓ ConditionArchitecture=
64 ✓ ConditionVirtualization=
66 ✓ ConditionCapability=
71 ✓ ConditionControlGroupController=
73 ✓ AssertPathExistsGlob=
74 ✓ AssertPathIsDirectory=
75 ✓ AssertPathIsSymbolicLink=
76 ✓ AssertPathIsMountPoint=
77 ✓ AssertPathIsReadWrite=
78 ✓ AssertDirectoryNotEmpty=
80 ✓ AssertFileIsExecutable=
83 ✓ AssertKernelCommandLine=
84 ✓ AssertKernelVersion=
86 ✓ AssertVirtualization=
93 ✓ AssertControlGroupController=
97 ## Execution-Related Settings
99 All execution-related settings are available for transient units.
107 ✓ SupplementaryGroups=
111 ✓ IOSchedulingPriority=
112 ✓ CPUSchedulingPolicy=
113 ✓ CPUSchedulingPriority=
114 ✓ CPUSchedulingResetOnFork=
139 ✓ CapabilityBoundingSet=
140 ✓ AmbientCapabilities=
145 ✓ SystemCallArchitectures=
146 ✓ SystemCallErrorNumber=
147 ✓ MemoryDenyWriteExecute=
148 ✓ RestrictNamespaces=
150 ✓ RestrictAddressFamilies=
173 ✓ TemporaryFileSystem=
176 ✓ ProtectKernelTunables=
177 ✓ ProtectKernelModules=
178 ✓ ProtectControlGroups=
186 ✓ RuntimeDirectoryPreserve=
187 ✓ RuntimeDirectoryMode=
189 ✓ StateDirectoryMode=
191 ✓ CacheDirectoryMode=
195 ✓ ConfigurationDirectoryMode=
196 ✓ ConfigurationDirectory=
207 ## Resource Control Settings
209 All cgroup/resource control settings are available for transient units
230 ✓ IOReadBandwidthMax=
231 ✓ IOWriteBandwidthMax=
236 ✓ StartupBlockIOWeight=
237 ✓ BlockIODeviceWeight=
238 ✓ BlockIOReadBandwidth=
239 ✓ BlockIOWriteBandwidth=
248 ## Process Killing Settings
250 All process killing settings are available for transient units:
259 ## Service Unit Settings
261 Most service unit settings are available for transient units.
279 ✓ PermissionsStartOnly=
280 ✓ RootDirectoryStartOnly=
283 ✓ RestartPreventExitStatus=
284 ✓ RestartForceExitStatus=
288 ✓ FileDescriptorStoreMax=
291 ✓ USBFunctionDescriptors=
292 ✓ USBFunctionStrings=
295 ## Mount Unit Settings
297 All mount unit settings are available to transient units:
311 ## Automount Unit Settings
313 All automount unit setting is available to transient units:
321 ## Timer Unit Settings
323 Most timer unit settings are available to transient units.
336 ✓ RandomizedDelaySec=
340 ## Slice Unit Settings
342 Slice units are fully supported as transient units, but they have no settings
343 of their own beyond the generic unit and resource control settings.
345 ## Scope Unit Settings
347 Scope units are fully supported as transient units (in fact they only exist as
354 ## Socket Unit Settings
356 Most socket unit settings are available to transient units.
361 ✓ ListenSequentialPacket=
365 ✓ ListenMessageQueue=
383 ✓ MaxConnectionsPerSource=
386 ✓ KeepAliveIntervalSec=
404 ✓ MessageQueueMaxMessages=
405 ✓ MessageQueueMessageSize=
408 ✓ FileDescriptorName=
410 ✓ TriggerLimitIntervalSec=
415 ✓ SELinuxContextFromNet=
418 ## Swap Unit Settings
420 Swap units are currently not available at all as transient units:
429 ## Path Unit Settings
431 Most path unit settings are available to transient units.
446 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.