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=
138 ✓ LogRateLimitIntervalSec=
141 ✓ CapabilityBoundingSet=
142 ✓ AmbientCapabilities=
147 ✓ SystemCallArchitectures=
148 ✓ SystemCallErrorNumber=
149 ✓ MemoryDenyWriteExecute=
150 ✓ RestrictNamespaces=
152 ✓ RestrictAddressFamilies=
175 ✓ TemporaryFileSystem=
179 ✓ ProtectKernelTunables=
180 ✓ ProtectKernelModules=
181 ✓ ProtectControlGroups=
189 ✓ RuntimeDirectoryPreserve=
190 ✓ RuntimeDirectoryMode=
192 ✓ StateDirectoryMode=
194 ✓ CacheDirectoryMode=
198 ✓ ConfigurationDirectoryMode=
199 ✓ ConfigurationDirectory=
210 ## Resource Control Settings
212 All cgroup/resource control settings are available for transient units
234 ✓ IOReadBandwidthMax=
235 ✓ IOWriteBandwidthMax=
240 ✓ StartupBlockIOWeight=
241 ✓ BlockIODeviceWeight=
242 ✓ BlockIOReadBandwidth=
243 ✓ BlockIOWriteBandwidth=
252 ## Process Killing Settings
254 All process killing settings are available for transient units:
265 ## Service Unit Settings
267 Most service unit settings are available for transient units.
285 ✓ RootDirectoryStartOnly=
288 ✓ RestartPreventExitStatus=
289 ✓ RestartForceExitStatus=
293 ✓ FileDescriptorStoreMax=
296 ✓ USBFunctionDescriptors=
297 ✓ USBFunctionStrings=
300 ## Mount Unit Settings
302 All mount unit settings are available to transient units:
316 ## Automount Unit Settings
318 All automount unit setting is available to transient units:
326 ## Timer Unit Settings
328 Most timer unit settings are available to transient units.
341 ✓ RandomizedDelaySec=
345 ## Slice Unit Settings
347 Slice units are fully supported as transient units, but they have no settings
348 of their own beyond the generic unit and resource control settings.
350 ## Scope Unit Settings
352 Scope units are fully supported as transient units (in fact they only exist as
359 ## Socket Unit Settings
361 Most socket unit settings are available to transient units.
366 ✓ ListenSequentialPacket=
370 ✓ ListenMessageQueue=
388 ✓ MaxConnectionsPerSource=
391 ✓ KeepAliveIntervalSec=
409 ✓ MessageQueueMaxMessages=
410 ✓ MessageQueueMessageSize=
413 ✓ FileDescriptorName=
415 ✓ TriggerLimitIntervalSec=
420 ✓ SELinuxContextFromNet=
423 ## Swap Unit Settings
425 Swap units are currently not available at all as transient units:
434 ## Path Unit Settings
436 Most path unit settings are available to transient units.
451 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.