Our intention is to make all settings that are available as unit file settings also available for transient units, through the D-Bus API. At the moment, some unit types (device, swap, target) are not supported at all via unit types, but most others are pretty well supported, with some notable omissions.
The lists below contain all settings currently available in unit files. The
ones currently available in transient units are prefixed with β
.
Most generic unit settings are available for transient units.
β Description=
β Documentation=
β SourcePath=
β Requires=
β Requisite=
β Wants=
β BindsTo=
β Conflicts=
β Before=
β After=
β OnFailure=
β PropagatesReloadTo=
β ReloadPropagatedFrom=
β PartOf=
β JoinsNamespaceOf=
β RequiresMountsFor=
β StopWhenUnneeded=
β RefuseManualStart=
β RefuseManualStop=
β AllowIsolate=
β DefaultDependencies=
β OnFailureJobMode=
β IgnoreOnIsolate=
β JobTimeoutSec=
β JobRunningTimeoutSec=
β JobTimeoutAction=
β JobTimeoutRebootArgument=
β StartLimitIntervalSec=SECONDS
β StartLimitBurst=UNSIGNED
β StartLimitAction=ACTION
β FailureAction=
β SuccessAction=
β AddRef=
β RebootArgument=STRING
β ConditionPathExists=
β ConditionPathExistsGlob=
β ConditionPathIsDirectory=
β ConditionPathIsSymbolicLink=
β ConditionPathIsMountPoint=
β ConditionPathIsReadWrite=
β ConditionDirectoryNotEmpty=
β ConditionFileNotEmpty=
β ConditionFileIsExecutable=
β ConditionNeedsUpdate=
β ConditionFirstBoot=
β ConditionKernelCommandLine=
β ConditionKernelVersion=
β ConditionArchitecture=
β ConditionVirtualization=
β ConditionSecurity=
β ConditionCapability=
β ConditionHost=
β ConditionACPower=
β ConditionUser=
β ConditionGroup=
β ConditionControlGroupController=
β AssertPathExists=
β AssertPathExistsGlob=
β AssertPathIsDirectory=
β AssertPathIsSymbolicLink=
β AssertPathIsMountPoint=
β AssertPathIsReadWrite=
β AssertDirectoryNotEmpty=
β AssertFileNotEmpty=
β AssertFileIsExecutable=
β AssertNeedsUpdate=
β AssertFirstBoot=
β AssertKernelCommandLine=
β AssertKernelVersion=
β AssertArchitecture=
β AssertVirtualization=
β AssertSecurity=
β AssertCapability=
β AssertHost=
β AssertACPower=
β AssertUser=
β AssertGroup=
β AssertControlGroupController=
β CollectMode=
All execution-related settings are available for transient units.
β WorkingDirectory=
β RootDirectory=
β RootImage=
β User=
β Group=
β SupplementaryGroups=
β Nice=
β OOMScoreAdjust=
β IOSchedulingClass=
β IOSchedulingPriority=
β CPUSchedulingPolicy=
β CPUSchedulingPriority=
β CPUSchedulingResetOnFork=
β CPUAffinity=
β UMask=
β Environment=
β EnvironmentFile=
β PassEnvironment=
β UnsetEnvironment=
β DynamicUser=
β RemoveIPC=
β StandardInput=
β StandardOutput=
β StandardError=
β StandardInputText=
β StandardInputData=
β TTYPath=
β TTYReset=
β TTYVHangup=
β TTYVTDisallocate=
β SyslogIdentifier=
β SyslogFacility=
β SyslogLevel=
β SyslogLevelPrefix=
β LogLevelMax=
β LogExtraFields=
β SecureBits=
β CapabilityBoundingSet=
β AmbientCapabilities=
β TimerSlackNSec=
β NoNewPrivileges=
β KeyringMode=
β SystemCallFilter=
β SystemCallArchitectures=
β SystemCallErrorNumber=
β MemoryDenyWriteExecute=
β RestrictNamespaces=
β RestrictRealtime=
β RestrictAddressFamilies=
β LockPersonality=
β LimitCPU=
β LimitFSIZE=
β LimitDATA=
β LimitSTACK=
β LimitCORE=
β LimitRSS=
β LimitNOFILE=
β LimitAS=
β LimitNPROC=
β LimitMEMLOCK=
β LimitLOCKS=
β LimitSIGPENDING=
β LimitMSGQUEUE=
β LimitNICE=
β LimitRTPRIO=
β LimitRTTIME=
β ReadWritePaths=
β ReadOnlyPaths=
β InaccessiblePaths=
β BindPaths=
β BindReadOnlyPaths=
β TemporaryFileSystem=
β PrivateTmp=
β PrivateDevices=
β ProtectKernelTunables=
β ProtectKernelModules=
β ProtectControlGroups=
β PrivateNetwork=
β PrivateUsers=
β ProtectSystem=
β ProtectHome=
β MountFlags=
β MountAPIVFS=
β Personality=
β RuntimeDirectoryPreserve=
β RuntimeDirectoryMode=
β RuntimeDirectory=
β StateDirectoryMode=
β StateDirectory=
β CacheDirectoryMode=
β CacheDirectory=
β LogsDirectoryMode=
β LogsDirectory=
β ConfigurationDirectoryMode=
β ConfigurationDirectory=
β PAMName=
β IgnoreSIGPIPE=
β UtmpIdentifier=
β UtmpMode=
β SELinuxContext=
β SmackProcessLabel=
β AppArmorProfile=
β Slice=
All cgroup/resource control settings are available for transient units
β CPUAccounting=
β CPUWeight=
β StartupCPUWeight=
β CPUShares=
β StartupCPUShares=
β CPUQuota=
β MemoryAccounting=
β MemoryLow=
β MemoryHigh=
β MemoryMax=
β MemorySwapMax=
β MemoryLimit=
β DeviceAllow=
β DevicePolicy=
β IOAccounting=
β IOWeight=
β StartupIOWeight=
β IODeviceWeight=
β IOReadBandwidthMax=
β IOWriteBandwidthMax=
β IOReadIOPSMax=
β IOWriteIOPSMax=
β BlockIOAccounting=
β BlockIOWeight=
β StartupBlockIOWeight=
β BlockIODeviceWeight=
β BlockIOReadBandwidth=
β BlockIOWriteBandwidth=
β TasksAccounting=
β TasksMax=
β Delegate=
β IPAccounting=
β IPAddressAllow=
β IPAddressDeny=
All process killing settings are available for transient units:
β SendSIGKILL=
β SendSIGHUP=
β KillMode=
β KillSignal=
Most service unit settings are available for transient units.
β PIDFile=
β ExecStartPre=
β ExecStart=
β ExecStartPost=
β ExecReload=
β ExecStop=
β ExecStopPost=
β RestartSec=
β TimeoutStartSec=
β TimeoutStopSec=
β TimeoutSec=
β RuntimeMaxSec=
β WatchdogSec=
β Type=
β Restart=
β PermissionsStartOnly=
β RootDirectoryStartOnly=
β RemainAfterExit=
β GuessMainPID=
β RestartPreventExitStatus=
β RestartForceExitStatus=
β SuccessExitStatus=
β NonBlocking=
β BusName=
β FileDescriptorStoreMax=
β NotifyAccess=
Sockets=
β USBFunctionDescriptors=
β USBFunctionStrings=
All mount unit settings are available to transient units:
β What=
β Where=
β Options=
β Type=
β TimeoutSec=
β DirectoryMode=
β SloppyOptions=
β LazyUnmount=
β ForceUnmount=
All automount unit setting is available to transient units:
β Where=
β DirectoryMode=
β TimeoutIdleSec=
Most timer unit settings are available to transient units.
β OnCalendar=
β OnActiveSec=
β OnBootSec=
β OnStartupSec=
β OnUnitActiveSec=
β OnUnitInactiveSec=
β Persistent=
β WakeSystem=
β RemainAfterElapse=
β AccuracySec=
β RandomizedDelaySec=
Unit=
Slice units are fully supported as transient units, but they have no settings of their own beyond the generic unit and resource control settings.
Scope units are fully supported as transient units (in fact they only exist as such).
β TimeoutStopSec=
Most socket unit settings are available to transient units.
β ListenStream=
β ListenDatagram=
β ListenSequentialPacket=
β ListenFIFO=
β ListenNetlink=
β ListenSpecial=
β ListenMessageQueue=
β ListenUSBFunction=
β SocketProtocol=
β BindIPv6Only=
β Backlog=
β BindToDevice=
β ExecStartPre=
β ExecStartPost=
β ExecStopPre=
β ExecStopPost=
β TimeoutSec=
β SocketUser=
β SocketGroup=
β SocketMode=
β DirectoryMode=
β Accept=
β Writable=
β MaxConnections=
β MaxConnectionsPerSource=
β KeepAlive=
β KeepAliveTimeSec=
β KeepAliveIntervalSec=
β KeepAliveProbes=
β DeferAcceptSec=
β NoDelay=
β Priority=
β ReceiveBuffer=
β SendBuffer=
β IPTOS=
β IPTTL=
β Mark=
β PipeSize=
β FreeBind=
β Transparent=
β Broadcast=
β PassCredentials=
β PassSecurity=
β TCPCongestion=
β ReusePort=
β MessageQueueMaxMessages=
β MessageQueueMessageSize=
β RemoveOnStop=
β Symlinks=
β FileDescriptorName=
Service=
β TriggerLimitIntervalSec=
β TriggerLimitBurst=
β SmackLabel=
β SmackLabelIPIn=
β SmackLabelIPOut=
β SELinuxContextFromNet=
Swap units are currently not available at all as transient units:
What=
Priority=
Options=
TimeoutSec=
Most path unit settings are available to transient units.
β PathExists=
β PathExistsGlob=
β PathChanged=
β PathModified=
β DirectoryNotEmpty=
Unit=
β MakeDirectory=
β DirectoryMode=
The [Install]
section is currently not available at all for transient units, and it probably doesn't even make sense.
Alias=
WantedBy=
RequiredBy=
Also=
DefaultInstance=