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:
263 ## Service Unit Settings
265 Most service unit settings are available for transient units.
283 ✓ PermissionsStartOnly=
284 ✓ RootDirectoryStartOnly=
287 ✓ RestartPreventExitStatus=
288 ✓ RestartForceExitStatus=
292 ✓ FileDescriptorStoreMax=
295 ✓ USBFunctionDescriptors=
296 ✓ USBFunctionStrings=
299 ## Mount Unit Settings
301 All mount unit settings are available to transient units:
315 ## Automount Unit Settings
317 All automount unit setting is available to transient units:
325 ## Timer Unit Settings
327 Most timer unit settings are available to transient units.
340 ✓ RandomizedDelaySec=
344 ## Slice Unit Settings
346 Slice units are fully supported as transient units, but they have no settings
347 of their own beyond the generic unit and resource control settings.
349 ## Scope Unit Settings
351 Scope units are fully supported as transient units (in fact they only exist as
358 ## Socket Unit Settings
360 Most socket unit settings are available to transient units.
365 ✓ ListenSequentialPacket=
369 ✓ ListenMessageQueue=
387 ✓ MaxConnectionsPerSource=
390 ✓ KeepAliveIntervalSec=
408 ✓ MessageQueueMaxMessages=
409 ✓ MessageQueueMessageSize=
412 ✓ FileDescriptorName=
414 ✓ TriggerLimitIntervalSec=
419 ✓ SELinuxContextFromNet=
422 ## Swap Unit Settings
424 Swap units are currently not available at all as transient units:
433 ## Path Unit Settings
435 Most path unit settings are available to transient units.
450 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.