mirror of
https://github.com/systemd/systemd.git
synced 2024-11-02 19:21:53 +03:00
294446dcb9
This is similar to OnFailure= but is activated whenever a unit returns into inactive state successfully. I was always afraid of adding this, since it effectively allows building loops and makes our engine Turing complete, but it pretty much already was it was just hidden. Given that we have per-unit ratelimits as well as an event loop global ratelimit I feel safe to add this finally, given it actually is useful. Fixes: #13386
347 lines
5.6 KiB
Desktop File
347 lines
5.6 KiB
Desktop File
service
|
|
[Unit]
|
|
After=
|
|
AllowIsolate=
|
|
AssertACPower=
|
|
AssertArchitecture=
|
|
AssertCPUs=
|
|
AssertCapability=
|
|
AssertControlGroupController=
|
|
AssertDirectoryNotEmpty=
|
|
AssertEnvironment=
|
|
AssertFileIsExecutable=
|
|
AssertFileNotEmpty=
|
|
AssertFirstBoot=
|
|
AssertGroup=
|
|
AssertHost=
|
|
AssertKernelCommandLine=
|
|
AssertKernelVersion=
|
|
AssertMemory=
|
|
AssertNeedsUpdate=
|
|
AssertPathExists=
|
|
AssertPathExistsGlob=
|
|
AssertPathIsDirectory=
|
|
AssertPathIsEncrypted=
|
|
AssertPathIsMountPoint=
|
|
AssertPathIsReadWrite=
|
|
AssertPathIsSymbolicLink=
|
|
AssertSecurity=
|
|
AssertUser=
|
|
AssertVirtualization=
|
|
BPFProgram=
|
|
Before=
|
|
BindTo=
|
|
BindsTo=
|
|
CollectMode=
|
|
ConditionACPower=
|
|
ConditionArchitecture=
|
|
ConditionCPUs=
|
|
ConditionFirmware=
|
|
ConditionCapability=
|
|
ConditionControlGroupController=
|
|
ConditionDirectoryNotEmpty=
|
|
ConditionEnvironment=
|
|
ConditionFileIsExecutable=
|
|
ConditionFileNotEmpty=
|
|
ConditionFirstBoot=
|
|
ConditionGroup=
|
|
ConditionHost=
|
|
ConditionKernelCommandLine=
|
|
ConditionKernelVersion=
|
|
ConditionMemory=
|
|
ConditionNeedsUpdate=
|
|
ConditionPathExists=
|
|
ConditionPathExistsGlob=
|
|
ConditionPathIsDirectory=
|
|
ConditionPathIsEncrypted=
|
|
ConditionPathIsMountPoint=
|
|
ConditionPathIsReadWrite=
|
|
ConditionPathIsSymbolicLink=
|
|
ConditionSecurity=
|
|
ConditionUser=
|
|
ConditionVirtualization=
|
|
Conflicts=
|
|
DefaultDependencies=
|
|
Description=
|
|
Documentation=
|
|
FailureAction=
|
|
FailureActionExitStatus=
|
|
IgnoreOnIsolate=
|
|
IgnoreOnSnapshot=
|
|
JobRunningTimeoutSec=
|
|
JobTimeoutAction=
|
|
JobTimeoutRebootArgument=
|
|
JobTimeoutSec=
|
|
JoinsNamespaceOf=
|
|
OnFailure=
|
|
OnFailureIsolate=
|
|
OnFailureJobMode=
|
|
OnSuccess=
|
|
OnSuccessJobMode=
|
|
PartOf=
|
|
PropagateReloadFrom=
|
|
PropagateReloadTo=
|
|
PropagatesReloadTo=
|
|
PropagatesStopTo=
|
|
RebootArgument=
|
|
RefuseManualStart=
|
|
RefuseManualStop=
|
|
ReloadPropagatedFrom=
|
|
Requires=
|
|
RequiresMountsFor=
|
|
RequiresOverridable=
|
|
Requisite=
|
|
RequisiteOverridable=
|
|
SocketBindAllow=
|
|
SocketBindDeny=
|
|
SourcePath=
|
|
StartLimitAction=
|
|
StartLimitBurst=
|
|
StartLimitInterval=
|
|
StartLimitIntervalSec=
|
|
StopWhenUnneeded=
|
|
StopPropagatedFrom=
|
|
SuccessAction=
|
|
SuccessActionExitStatus=
|
|
Wants=
|
|
[Install]
|
|
Alias=
|
|
Also=
|
|
DefaultInstance=
|
|
RequiredBy=
|
|
WantedBy=
|
|
[Service]
|
|
AllowedCPUs=
|
|
AllowedMemoryNodes=
|
|
AmbientCapabilities=
|
|
AppArmorProfile=
|
|
BindPaths=
|
|
BindReadOnlyPaths=
|
|
BlockIOAccounting=
|
|
BlockIODeviceWeight=
|
|
BlockIOReadBandwidth=
|
|
BlockIOWeight=
|
|
BlockIOWriteBandwidth=
|
|
BusName=
|
|
BusPolicy=
|
|
CPUAccounting=
|
|
CPUAffinity=
|
|
CPUQuota=
|
|
CPUQuotaPeriodSec=
|
|
CPUSchedulingPolicy=
|
|
CPUSchedulingPriority=
|
|
CPUSchedulingResetOnFork=
|
|
CPUShares=
|
|
CPUWeight=
|
|
CacheDirectory=
|
|
CacheDirectoryMode=
|
|
Capabilities=
|
|
CapabilityBoundingSet=
|
|
ConfigurationDirectory=
|
|
ConfigurationDirectoryMode=
|
|
CoredumpFilter=
|
|
DefaultMemoryLow=
|
|
DefaultMemoryMin=
|
|
Delegate=
|
|
DeviceAllow=
|
|
DevicePolicy=
|
|
DisableControllers=
|
|
DynamicUser=
|
|
Environment=
|
|
EnvironmentFile=
|
|
ExecCondition=
|
|
ExecPaths=
|
|
ExecReload=
|
|
ExecStart=
|
|
ExecStartPost=
|
|
ExecStartPre=
|
|
ExecStop=
|
|
ExecStopPost=
|
|
ExitType=
|
|
ExtensionImages=
|
|
FailureAction=
|
|
FileDescriptorStoreMax=
|
|
FinalKillSignal=
|
|
Group=
|
|
GuessMainPID=
|
|
IOAccounting=
|
|
IODeviceLatencyTargetSec=
|
|
IODeviceWeight=
|
|
IOReadBandwidthMax=
|
|
IOReadIOPSMax=
|
|
IOSchedulingClass=
|
|
IOSchedulingPriority=
|
|
IOWeight=
|
|
IOWriteBandwidthMax=
|
|
IOWriteIOPSMax=
|
|
IPAccounting=
|
|
IPAddressAllow=
|
|
IPAddressDeny=
|
|
IPCNamespacePath=
|
|
IPEgressFilterPath=
|
|
IPIngressFilterPath=
|
|
IgnoreSIGPIPE=
|
|
InaccessibleDirectories=
|
|
InaccessiblePaths=
|
|
KeyringMode=
|
|
KillMode=
|
|
KillSignal=
|
|
LimitAS=
|
|
LimitCORE=
|
|
LimitCPU=
|
|
LimitDATA=
|
|
LimitFSIZE=
|
|
LimitLOCKS=
|
|
LimitMEMLOCK=
|
|
LimitMSGQUEUE=
|
|
LimitNICE=
|
|
LimitNOFILE=
|
|
LimitNPROC=
|
|
LimitRSS=
|
|
LimitRTPRIO=
|
|
LimitRTTIME=
|
|
LimitSIGPENDING=
|
|
LimitSTACK=
|
|
LoadCredential=
|
|
LockPersonality=
|
|
LogExtraFields=
|
|
LogLevelMax=
|
|
LogNamespace=
|
|
LogRateLimitBurst=
|
|
LogRateLimitIntervalSec=
|
|
LogsDirectory=
|
|
LogsDirectoryMode=
|
|
ManagedOOMMemoryPressure=
|
|
ManagedOOMMemoryPressureLimit=
|
|
ManagedOOMPreference=
|
|
ManagedOOMSwap=
|
|
MemoryAccounting=
|
|
MemoryDenyWriteExecute=
|
|
MemoryHigh=
|
|
MemoryLimit=
|
|
MemoryLow=
|
|
MemoryMax=
|
|
MemoryMin=
|
|
MemorySwapMax=
|
|
MountAPIVFS=
|
|
MountFlags=
|
|
MountImages=
|
|
NUMAMask=
|
|
NUMAPolicy=
|
|
NetClass=
|
|
NetworkNamespacePath=
|
|
Nice=
|
|
NoExecPaths=
|
|
NoNewPrivileges=
|
|
NonBlocking=
|
|
NotifyAccess=
|
|
OOMPolicy=
|
|
OOMScoreAdjust=
|
|
PAMName=
|
|
PIDFile=
|
|
PassEnvironment=
|
|
PermissionsStartOnly=
|
|
Personality=
|
|
PrivateDevices=
|
|
PrivateIPC=
|
|
PrivateMounts=
|
|
PrivateNetwork=
|
|
PrivateTmp=
|
|
PrivateUsers=
|
|
ProcSubset=
|
|
ProtectClock=
|
|
ProtectControlGroups=
|
|
ProtectHome=
|
|
ProtectHostname=
|
|
ProtectKernelLogs=
|
|
ProtectKernelModules=
|
|
ProtectKernelTunables=
|
|
ProtectProc=
|
|
ProtectSystem=
|
|
ReadOnlyDirectories=
|
|
ReadOnlyPaths=
|
|
ReadWriteDirectories=
|
|
ReadWritePaths=
|
|
RebootArgument=
|
|
RemainAfterExit=
|
|
RemoveIPC=
|
|
Restart=
|
|
RestartForceExitStatus=
|
|
RestartKillSignal=
|
|
RestartPreventExitStatus=
|
|
RestartSec=
|
|
RestrictAddressFamilies=
|
|
RestrictNamespaces=
|
|
RestrictRealtime=
|
|
RestrictSUIDSGID=
|
|
RootDirectory=
|
|
RootDirectoryStartOnly=
|
|
RootHash=
|
|
RootHashSignature=
|
|
RootImage=
|
|
RootImageOptions=
|
|
RootVerity=
|
|
RuntimeDirectory=
|
|
RuntimeDirectoryMode=
|
|
RuntimeDirectoryPreserve=
|
|
RuntimeMaxSec=
|
|
SELinuxContext=
|
|
SecureBits=
|
|
SendSIGHUP=
|
|
SendSIGKILL=
|
|
SetCredential=
|
|
Slice=
|
|
SmackProcessLabel=
|
|
Sockets=
|
|
StandardError=
|
|
StandardInput=
|
|
StandardInputData=
|
|
StandardInputText=
|
|
StandardOutput=
|
|
StartLimitAction=
|
|
StartLimitBurst=
|
|
StartLimitInterval=
|
|
StartupBlockIOWeight=
|
|
StartupCPUShares=
|
|
StartupCPUWeight=
|
|
StartupIOWeight=
|
|
StateDirectory=
|
|
StateDirectoryMode=
|
|
SuccessExitStatus=
|
|
SupplementaryGroups=
|
|
SysVStartPriority=
|
|
SyslogFacility=
|
|
SyslogIdentifier=
|
|
SyslogLevel=
|
|
SyslogLevelPrefix=
|
|
SystemCallArchitectures=
|
|
SystemCallErrorNumber=
|
|
SystemCallFilter=
|
|
SystemCallLog=
|
|
TTYPath=
|
|
TTYReset=
|
|
TTYVHangup=
|
|
TTYVTDisallocate=
|
|
TasksAccounting=
|
|
TasksMax=
|
|
TemporaryFileSystem=
|
|
TimeoutAbortSec=
|
|
TimeoutCleanSec=
|
|
TimeoutSec=
|
|
TimeoutStartFailureMode=
|
|
TimeoutStartSec=
|
|
TimeoutStopFailureMode=
|
|
TimeoutStopSec=
|
|
TimerSlackNSec=
|
|
Type=
|
|
UMask=
|
|
USBFunctionDescriptors=
|
|
USBFunctionStrings=
|
|
UnsetEnvironment=
|
|
User=
|
|
UtmpIdentifier=
|
|
UtmpMode=
|
|
WatchdogSec=
|
|
WatchdogSignal=
|
|
WorkingDirectory=
|