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=
177 ✓ ProtectKernelTunables=
178 ✓ ProtectKernelModules=
179 ✓ ProtectControlGroups=
187 ✓ RuntimeDirectoryPreserve=
188 ✓ RuntimeDirectoryMode=
190 ✓ StateDirectoryMode=
192 ✓ CacheDirectoryMode=
196 ✓ ConfigurationDirectoryMode=
197 ✓ ConfigurationDirectory=
208 ## Resource Control Settings
210 All cgroup/resource control settings are available for transient units
232 ✓ IOReadBandwidthMax=
233 ✓ IOWriteBandwidthMax=
238 ✓ StartupBlockIOWeight=
239 ✓ BlockIODeviceWeight=
240 ✓ BlockIOReadBandwidth=
241 ✓ BlockIOWriteBandwidth=
250 ## Process Killing Settings
252 All process killing settings are available for transient units:
262 ## Service Unit Settings
264 Most service unit settings are available for transient units.
282 ✓ PermissionsStartOnly=
283 ✓ RootDirectoryStartOnly=
286 ✓ RestartPreventExitStatus=
287 ✓ RestartForceExitStatus=
291 ✓ FileDescriptorStoreMax=
294 ✓ USBFunctionDescriptors=
295 ✓ USBFunctionStrings=
298 ## Mount Unit Settings
300 All mount unit settings are available to transient units:
314 ## Automount Unit Settings
316 All automount unit setting is available to transient units:
324 ## Timer Unit Settings
326 Most timer unit settings are available to transient units.
339 ✓ RandomizedDelaySec=
343 ## Slice Unit Settings
345 Slice units are fully supported as transient units, but they have no settings
346 of their own beyond the generic unit and resource control settings.
348 ## Scope Unit Settings
350 Scope units are fully supported as transient units (in fact they only exist as
357 ## Socket Unit Settings
359 Most socket unit settings are available to transient units.
364 ✓ ListenSequentialPacket=
368 ✓ ListenMessageQueue=
386 ✓ MaxConnectionsPerSource=
389 ✓ KeepAliveIntervalSec=
407 ✓ MessageQueueMaxMessages=
408 ✓ MessageQueueMessageSize=
411 ✓ FileDescriptorName=
413 ✓ TriggerLimitIntervalSec=
418 ✓ SELinuxContextFromNet=
421 ## Swap Unit Settings
423 Swap units are currently not available at all as transient units:
432 ## Path Unit Settings
434 Most path unit settings are available to transient units.
449 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.