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 (socket, swap, path) are not supported at all via unit types, but
6 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 Only the most important generic unit settings are available for transient units.
28 ✓ ReloadPropagatedFrom=
36 ✓ DefaultDependencies=
43 JobTimeoutRebootArgument=
44 StartLimitIntervalSec=SECONDS
45 StartLimitBurst=UNSIGNED
46 StartLimitAction=ACTION
52 ConditionPathExistsGlob=
53 ConditionPathIsDirectory=
54 ConditionPathIsSymbolicLink=
55 ConditionPathIsMountPoint=
56 ConditionPathIsReadWrite=
57 ConditionDirectoryNotEmpty=
58 ConditionFileNotEmpty=
59 ConditionFileIsExecutable=
62 ConditionKernelCommandLine=
63 ConditionArchitecture=
64 ConditionVirtualization=
73 AssertPathIsDirectory=
74 AssertPathIsSymbolicLink=
75 AssertPathIsMountPoint=
76 AssertPathIsReadWrite=
77 AssertDirectoryNotEmpty=
79 AssertFileIsExecutable=
82 AssertKernelCommandLine=
94 ## Execution-Related Settings
96 All execution-related settings are available for transient units.
104 ✓ SupplementaryGroups=
108 ✓ IOSchedulingPriority=
109 ✓ CPUSchedulingPolicy=
110 ✓ CPUSchedulingPriority=
111 ✓ CPUSchedulingResetOnFork=
136 ✓ CapabilityBoundingSet=
137 ✓ AmbientCapabilities=
142 ✓ SystemCallArchitectures=
143 ✓ SystemCallErrorNumber=
144 ✓ MemoryDenyWriteExecute=
145 ✓ RestrictNamespaces=
147 ✓ RestrictAddressFamilies=
172 ✓ ProtectKernelTunables=
173 ✓ ProtectKernelModules=
174 ✓ ProtectControlGroups=
182 ✓ RuntimeDirectoryPreserve=
183 ✓ RuntimeDirectoryMode=
185 ✓ StateDirectoryMode=
187 ✓ CacheDirectoryMode=
191 ✓ ConfigurationDirectoryMode=
192 ✓ ConfigurationDirectory=
203 ## Resource Control Settings
205 All cgroup/resource control settings are available for transient units
226 ✓ IOReadBandwidthMax=
227 ✓ IOWriteBandwidthMax=
232 ✓ StartupBlockIOWeight=
233 ✓ BlockIODeviceWeight=
234 ✓ BlockIOReadBandwidth=
235 ✓ BlockIOWriteBandwidth=
244 ## Process Killing Settings
246 All process killing settings are available for transient units:
255 ## Service Unit Settings
257 Only the most important service settings are available for transient units.
275 PermissionsStartOnly=
276 RootDirectoryStartOnly=
279 RestartPreventExitStatus=
280 RestartForceExitStatus=
284 ✓ FileDescriptorStoreMax=
287 USBFunctionDescriptors=
291 ## Mount Unit Settings
293 Only the most important mount unit settings are currently available to transient units:
307 ## Automount Unit Settings
309 Only one automount unit setting is currently available to transient units:
317 ## Timer Unit Settings
319 Most timer unit settings are available to transient units.
332 ✓ RandomizedDelaySec=
336 ## Slice Unit Settings
338 Slice units are fully supported as transient units, but they have no settings
339 of their own beyond the generic unit and resource control settings.
341 ## Scope Unit Settings
343 Scope units are fully supported as transient units (in fact they only exist as
344 such), but they have no settings of their own beyond the generic unit and
345 resource control settings.
347 ## Socket Unit Settings
349 Socket units are currently not available at all as transient units:
354 ListenSequentialPacket=
376 MaxConnectionsPerSource=
379 KeepAliveIntervalSec=
397 MessageQueueMaxMessages=
398 MessageQueueMessageSize=
403 TriggerLimitIntervalSec=
408 SELinuxContextFromNet=
411 ## Swap Unit Settings
413 Swap units are currently not available at all as transient units:
422 ## Path Unit Settings
424 Path units are currently not available at all as transient units:
439 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.