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 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=
71 ConditionControlGroupController=
74 AssertPathIsDirectory=
75 AssertPathIsSymbolicLink=
76 AssertPathIsMountPoint=
77 AssertPathIsReadWrite=
78 AssertDirectoryNotEmpty=
80 AssertFileIsExecutable=
83 AssertKernelCommandLine=
92 AssertControlGroupController=
96 ## Execution-Related Settings
98 All execution-related settings are available for transient units.
106 ✓ SupplementaryGroups=
110 ✓ IOSchedulingPriority=
111 ✓ CPUSchedulingPolicy=
112 ✓ CPUSchedulingPriority=
113 ✓ CPUSchedulingResetOnFork=
138 ✓ CapabilityBoundingSet=
139 ✓ AmbientCapabilities=
144 ✓ SystemCallArchitectures=
145 ✓ SystemCallErrorNumber=
146 ✓ MemoryDenyWriteExecute=
147 ✓ RestrictNamespaces=
149 ✓ RestrictAddressFamilies=
174 ✓ ProtectKernelTunables=
175 ✓ ProtectKernelModules=
176 ✓ ProtectControlGroups=
184 ✓ RuntimeDirectoryPreserve=
185 ✓ RuntimeDirectoryMode=
187 ✓ StateDirectoryMode=
189 ✓ CacheDirectoryMode=
193 ✓ ConfigurationDirectoryMode=
194 ✓ ConfigurationDirectory=
205 ## Resource Control Settings
207 All cgroup/resource control settings are available for transient units
228 ✓ IOReadBandwidthMax=
229 ✓ IOWriteBandwidthMax=
234 ✓ StartupBlockIOWeight=
235 ✓ BlockIODeviceWeight=
236 ✓ BlockIOReadBandwidth=
237 ✓ BlockIOWriteBandwidth=
246 ## Process Killing Settings
248 All process killing settings are available for transient units:
257 ## Service Unit Settings
259 Only the most important service settings are available for transient units.
277 PermissionsStartOnly=
278 RootDirectoryStartOnly=
281 RestartPreventExitStatus=
282 RestartForceExitStatus=
286 ✓ FileDescriptorStoreMax=
289 USBFunctionDescriptors=
293 ## Mount Unit Settings
295 Only the most important mount unit settings are currently available to transient units:
309 ## Automount Unit Settings
311 Only one automount unit setting is currently available to transient units:
319 ## Timer Unit Settings
321 Most timer unit settings are available to transient units.
334 ✓ RandomizedDelaySec=
338 ## Slice Unit Settings
340 Slice units are fully supported as transient units, but they have no settings
341 of their own beyond the generic unit and resource control settings.
343 ## Scope Unit Settings
345 Scope units are fully supported as transient units (in fact they only exist as
346 such), but they have no settings of their own beyond the generic unit,
347 resource control, and process killing settings.
349 ## Socket Unit Settings
351 Most socket unit settings are available to transient units.
356 ✓ ListenSequentialPacket=
360 ✓ ListenMessageQueue=
378 ✓ MaxConnectionsPerSource=
381 ✓ KeepAliveIntervalSec=
399 ✓ MessageQueueMaxMessages=
400 ✓ MessageQueueMessageSize=
403 ✓ FileDescriptorName=
405 ✓ TriggerLimitIntervalSec=
410 ✓ SELinuxContextFromNet=
413 ## Swap Unit Settings
415 Swap units are currently not available at all as transient units:
424 ## Path Unit Settings
426 Most path unit settings are available to transient units.
441 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.