2 title: What Settings Are Currently Available For Transient Units?
7 # What Settings Are Currently Available For Transient Units?
9 Our intention is to make all settings that are available as unit file settings
10 also available for transient units, through the D-Bus API. At the moment,
11 device, swap, and target units are not supported at all as transient units, but
12 others are pretty well supported.
14 The lists below contain all settings currently available in unit files. The
15 ones currently available in transient units are prefixed with `✓`.
17 ## Generic Unit Settings
19 Most generic unit settings are available for transient units.
34 ✓ ReloadPropagatedFrom=
42 ✓ DefaultDependencies=
46 ✓ JobRunningTimeoutSec=
48 ✓ JobTimeoutRebootArgument=
49 ✓ StartLimitIntervalSec=
54 ✓ FailureActionExitStatus=
55 ✓ SuccessActionExitStatus=
57 ✓ ConditionPathExists=
58 ✓ ConditionPathExistsGlob=
59 ✓ ConditionPathIsDirectory=
60 ✓ ConditionPathIsSymbolicLink=
61 ✓ ConditionPathIsMountPoint=
62 ✓ ConditionPathIsReadWrite=
63 ✓ ConditionDirectoryNotEmpty=
64 ✓ ConditionFileNotEmpty=
65 ✓ ConditionFileIsExecutable=
66 ✓ ConditionNeedsUpdate=
68 ✓ ConditionKernelCommandLine=
69 ✓ ConditionKernelVersion=
70 ✓ ConditionArchitecture=
71 ✓ ConditionVirtualization=
73 ✓ ConditionCapability=
78 ✓ ConditionControlGroupController=
80 ✓ AssertPathExistsGlob=
81 ✓ AssertPathIsDirectory=
82 ✓ AssertPathIsSymbolicLink=
83 ✓ AssertPathIsMountPoint=
84 ✓ AssertPathIsReadWrite=
85 ✓ AssertDirectoryNotEmpty=
87 ✓ AssertFileIsExecutable=
90 ✓ AssertKernelCommandLine=
91 ✓ AssertKernelVersion=
93 ✓ AssertVirtualization=
100 ✓ AssertControlGroupController=
104 ## Execution-Related Settings
106 All execution-related settings are available for transient units.
114 ✓ SupplementaryGroups=
119 ✓ IOSchedulingPriority=
120 ✓ CPUSchedulingPolicy=
121 ✓ CPUSchedulingPriority=
122 ✓ CPUSchedulingResetOnFork=
146 ✓ LogRateLimitIntervalSec=
149 ✓ CapabilityBoundingSet=
150 ✓ AmbientCapabilities=
155 ✓ SystemCallArchitectures=
156 ✓ SystemCallErrorNumber=
157 ✓ MemoryDenyWriteExecute=
158 ✓ RestrictNamespaces=
161 ✓ RestrictAddressFamilies=
184 ✓ TemporaryFileSystem=
188 ✓ ProtectKernelTunables=
189 ✓ ProtectKernelModules=
191 ✓ ProtectControlGroups=
200 ✓ RuntimeDirectoryPreserve=
201 ✓ RuntimeDirectoryMode=
203 ✓ StateDirectoryMode=
205 ✓ CacheDirectoryMode=
209 ✓ ConfigurationDirectoryMode=
210 ✓ ConfigurationDirectory=
221 ## Resource Control Settings
223 All cgroup/resource control settings are available for transient units
234 ✓ AllowedMemoryNodes=
250 ✓ IOReadBandwidthMax=
251 ✓ IOWriteBandwidthMax=
256 ✓ StartupBlockIOWeight=
257 ✓ BlockIODeviceWeight=
258 ✓ BlockIOReadBandwidth=
259 ✓ BlockIOWriteBandwidth=
263 ✓ DisableControllers=
269 ## Process Killing Settings
271 All process killing settings are available for transient units:
283 ## Service Unit Settings
285 Most service unit settings are available for transient units.
305 ✓ RootDirectoryStartOnly=
308 ✓ RestartPreventExitStatus=
309 ✓ RestartForceExitStatus=
313 ✓ FileDescriptorStoreMax=
316 ✓ USBFunctionDescriptors=
317 ✓ USBFunctionStrings=
321 ## Mount Unit Settings
323 All mount unit settings are available to transient units:
338 ## Automount Unit Settings
340 All automount unit setting is available to transient units:
348 ## Timer Unit Settings
350 Most timer unit settings are available to transient units.
365 ✓ RandomizedDelaySec=
369 ## Slice Unit Settings
371 Slice units are fully supported as transient units, but they have no settings
372 of their own beyond the generic unit and resource control settings.
374 ## Scope Unit Settings
376 Scope units are fully supported as transient units (in fact they only exist as
384 ## Socket Unit Settings
386 Most socket unit settings are available to transient units.
391 ✓ ListenSequentialPacket=
395 ✓ ListenMessageQueue=
413 ✓ MaxConnectionsPerSource=
416 ✓ KeepAliveIntervalSec=
434 ✓ MessageQueueMaxMessages=
435 ✓ MessageQueueMessageSize=
438 ✓ FileDescriptorName=
440 ✓ TriggerLimitIntervalSec=
445 ✓ SELinuxContextFromNet=
448 ## Swap Unit Settings
450 Swap units are currently not available at all as transient units:
459 ## Path Unit Settings
461 Most path unit settings are available to transient units.
476 The `[Install]` section is currently not available at all for transient units, and it probably doesn't even make sense.