mirror of
https://github.com/taigrr/systemctl.git
synced 2026-03-09 00:14:38 -07:00
add new properties, socket finder
This commit is contained in:
25
helpers.go
25
helpers.go
@@ -58,6 +58,31 @@ func GetPID(ctx context.Context, unit string, opts Options) (int, error) {
|
|||||||
return strconv.Atoi(value)
|
return strconv.Atoi(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetSocketsForServiceUnit(ctx context.Context, unit string, opts Options) ([]string, error) {
|
||||||
|
args := []string{"list-sockets", "--all", "--no-legend", "--no-pager"}
|
||||||
|
if opts.UserMode {
|
||||||
|
args = append(args, "--user")
|
||||||
|
}
|
||||||
|
stdout, _, _, err := execute(ctx, args)
|
||||||
|
if err != nil {
|
||||||
|
return []string{}, err
|
||||||
|
}
|
||||||
|
lines := strings.Split(stdout, "\n")
|
||||||
|
sockets := []string{}
|
||||||
|
for _, line := range lines {
|
||||||
|
fields := strings.Fields(line)
|
||||||
|
if len(fields) < 3 {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
socketUnit := fields[1]
|
||||||
|
serviceUnit := fields[2]
|
||||||
|
if serviceUnit == unit+".service" {
|
||||||
|
sockets = append(sockets, socketUnit)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return sockets, nil
|
||||||
|
}
|
||||||
|
|
||||||
func GetUnits(ctx context.Context, opts Options) ([]Unit, error) {
|
func GetUnits(ctx context.Context, opts Options) ([]Unit, error) {
|
||||||
args := []string{"list-units", "--all", "--no-legend", "--full", "--no-pager"}
|
args := []string{"list-units", "--all", "--no-legend", "--full", "--no-pager"}
|
||||||
if opts.UserMode {
|
if opts.UserMode {
|
||||||
|
|||||||
@@ -3,246 +3,330 @@ package properties
|
|||||||
type Property string
|
type Property string
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ActiveEnterTimestamp Property = "ActiveEnterTimestamp"
|
Accept Property = "Accept"
|
||||||
ActiveEnterTimestampMonotonic Property = "ActiveEnterTimestampMonotonic"
|
ActiveEnterTimestamp Property = "ActiveEnterTimestamp"
|
||||||
ActiveExitTimestampMonotonic Property = "ActiveExitTimestampMonotonic"
|
ActiveEnterTimestampMonotonic Property = "ActiveEnterTimestampMonotonic"
|
||||||
ActiveState Property = "ActiveState"
|
ActiveExitTimestampMonotonic Property = "ActiveExitTimestampMonotonic"
|
||||||
After Property = "After"
|
ActiveState Property = "ActiveState"
|
||||||
AllowIsolate Property = "AllowIsolate"
|
After Property = "After"
|
||||||
AssertResult Property = "AssertResult"
|
AllowIsolate Property = "AllowIsolate"
|
||||||
AssertTimestamp Property = "AssertTimestamp"
|
AssertResult Property = "AssertResult"
|
||||||
AssertTimestampMonotonic Property = "AssertTimestampMonotonic"
|
AssertTimestamp Property = "AssertTimestamp"
|
||||||
Before Property = "Before"
|
AssertTimestampMonotonic Property = "AssertTimestampMonotonic"
|
||||||
BlockIOAccounting Property = "BlockIOAccounting"
|
Backlog Property = "Backlog"
|
||||||
BlockIOWeight Property = "BlockIOWeight"
|
Before Property = "Before"
|
||||||
CPUAccounting Property = "CPUAccounting"
|
BindIPv6Only Property = "BindIPv6Only"
|
||||||
CPUAffinityFromNUMA Property = "CPUAffinityFromNUMA"
|
BindLogSockets Property = "BindLogSockets"
|
||||||
CPUQuotaPerSecUSec Property = "CPUQuotaPerSecUSec"
|
BlockIOAccounting Property = "BlockIOAccounting"
|
||||||
CPUQuotaPeriodUSec Property = "CPUQuotaPeriodUSec"
|
BlockIOWeight Property = "BlockIOWeight"
|
||||||
CPUSchedulingPolicy Property = "CPUSchedulingPolicy"
|
Broadcast Property = "Broadcast"
|
||||||
CPUSchedulingPriority Property = "CPUSchedulingPriority"
|
CPUAccounting Property = "CPUAccounting"
|
||||||
CPUSchedulingResetOnFork Property = "CPUSchedulingResetOnFork"
|
CPUAffinityFromNUMA Property = "CPUAffinityFromNUMA"
|
||||||
CPUShares Property = "CPUShares"
|
CPUQuotaPerSecUSec Property = "CPUQuotaPerSecUSec"
|
||||||
CPUUsageNSec Property = "CPUUsageNSec"
|
CPUQuotaPeriodUSec Property = "CPUQuotaPeriodUSec"
|
||||||
CPUWeight Property = "CPUWeight"
|
CPUSchedulingPolicy Property = "CPUSchedulingPolicy"
|
||||||
CacheDirectoryMode Property = "CacheDirectoryMode"
|
CPUSchedulingPriority Property = "CPUSchedulingPriority"
|
||||||
CanFreeze Property = "CanFreeze"
|
CPUSchedulingResetOnFork Property = "CPUSchedulingResetOnFork"
|
||||||
CanIsolate Property = "CanIsolate"
|
CPUShares Property = "CPUShares"
|
||||||
CanReload Property = "CanReload"
|
CPUUsageNSec Property = "CPUUsageNSec"
|
||||||
CanStart Property = "CanStart"
|
CPUWeight Property = "CPUWeight"
|
||||||
CanStop Property = "CanStop"
|
CacheDirectoryMode Property = "CacheDirectoryMode"
|
||||||
CapabilityBoundingSet Property = "CapabilityBoundingSet"
|
CanFreeze Property = "CanFreeze"
|
||||||
CleanResult Property = "CleanResult"
|
CanIsolate Property = "CanIsolate"
|
||||||
CollectMode Property = "CollectMode"
|
CanLiveMount Property = "CanLiveMount"
|
||||||
ConditionResult Property = "ConditionResult"
|
CanReload Property = "CanReload"
|
||||||
ConditionTimestamp Property = "ConditionTimestamp"
|
CanStart Property = "CanStart"
|
||||||
ConditionTimestampMonotonic Property = "ConditionTimestampMonotonic"
|
CanStop Property = "CanStop"
|
||||||
ConfigurationDirectoryMode Property = "ConfigurationDirectoryMode"
|
CapabilityBoundingSet Property = "CapabilityBoundingSet"
|
||||||
Conflicts Property = "Conflicts"
|
CleanResult Property = "CleanResult"
|
||||||
ControlGroup Property = "ControlGroup"
|
CollectMode Property = "CollectMode"
|
||||||
ControlPID Property = "ControlPID"
|
ConditionResult Property = "ConditionResult"
|
||||||
CoredumpFilter Property = "CoredumpFilter"
|
ConditionTimestamp Property = "ConditionTimestamp"
|
||||||
DefaultDependencies Property = "DefaultDependencies"
|
ConditionTimestampMonotonic Property = "ConditionTimestampMonotonic"
|
||||||
DefaultMemoryLow Property = "DefaultMemoryLow"
|
ConfigurationDirectoryMode Property = "ConfigurationDirectoryMode"
|
||||||
DefaultMemoryMin Property = "DefaultMemoryMin"
|
Conflicts Property = "Conflicts"
|
||||||
Delegate Property = "Delegate"
|
ControlGroup Property = "ControlGroup"
|
||||||
Description Property = "Description"
|
ControlGroupId Property = "ControlGroupId"
|
||||||
DevicePolicy Property = "DevicePolicy"
|
ControlPID Property = "ControlPID"
|
||||||
DynamicUser Property = "DynamicUser"
|
CoredumpFilter Property = "CoredumpFilter"
|
||||||
EffectiveCPUs Property = "EffectiveCPUs"
|
CoredumpReceive Property = "CoredumpReceive"
|
||||||
EffectiveMemoryNodes Property = "EffectiveMemoryNodes"
|
DebugInvocation Property = "DebugInvocation"
|
||||||
ExecMainCode Property = "ExecMainCode"
|
DefaultDependencies Property = "DefaultDependencies"
|
||||||
ExecMainExitTimestampMonotonic Property = "ExecMainExitTimestampMonotonic"
|
DefaultMemoryLow Property = "DefaultMemoryLow"
|
||||||
ExecMainPID Property = "ExecMainPID"
|
DefaultMemoryMin Property = "DefaultMemoryMin"
|
||||||
ExecMainStartTimestamp Property = "ExecMainStartTimestamp"
|
DefaultStartupMemoryLow Property = "DefaultStartupMemoryLow"
|
||||||
ExecMainStartTimestampMonotonic Property = "ExecMainStartTimestampMonotonic"
|
DeferAcceptUSec Property = "DeferAcceptUSec"
|
||||||
ExecMainStatus Property = "ExecMainStatus"
|
Delegate Property = "Delegate"
|
||||||
ExecReload Property = "ExecReload"
|
Description Property = "Description"
|
||||||
ExecReloadEx Property = "ExecReloadEx"
|
DevicePolicy Property = "DevicePolicy"
|
||||||
ExecStart Property = "ExecStart"
|
DirectoryMode Property = "DirectoryMode"
|
||||||
ExecStartEx Property = "ExecStartEx"
|
DynamicUser Property = "DynamicUser"
|
||||||
FailureAction Property = "FailureAction"
|
EffectiveCPUs Property = "EffectiveCPUs"
|
||||||
FileDescriptorStoreMax Property = "FileDescriptorStoreMax"
|
EffectiveMemoryHigh Property = "EffectiveMemoryHigh"
|
||||||
FinalKillSignal Property = "FinalKillSignal"
|
EffectiveMemoryMax Property = "EffectiveMemoryMax"
|
||||||
FragmentPath Property = "FragmentPath"
|
EffectiveMemoryNodes Property = "EffectiveMemoryNodes"
|
||||||
FreezerState Property = "FreezerState"
|
EffectiveTasksMax Property = "EffectiveTasksMax"
|
||||||
GID Property = "GID"
|
ExecMainCode Property = "ExecMainCode"
|
||||||
GuessMainPID Property = "GuessMainPID"
|
ExecMainExitTimestampMonotonic Property = "ExecMainExitTimestampMonotonic"
|
||||||
IOAccounting Property = "IOAccounting"
|
ExecMainPID Property = "ExecMainPID"
|
||||||
IOReadBytes Property = "IOReadBytes"
|
ExecMainStartTimestamp Property = "ExecMainStartTimestamp"
|
||||||
IOReadOperations Property = "IOReadOperations"
|
ExecMainStartTimestampMonotonic Property = "ExecMainStartTimestampMonotonic"
|
||||||
IOSchedulingClass Property = "IOSchedulingClass"
|
ExecMainStatus Property = "ExecMainStatus"
|
||||||
IOSchedulingPriority Property = "IOSchedulingPriority"
|
ExecReload Property = "ExecReload"
|
||||||
IOWeight Property = "IOWeight"
|
ExecReloadEx Property = "ExecReloadEx"
|
||||||
IOWriteBytes Property = "IOWriteBytes"
|
ExecStart Property = "ExecStart"
|
||||||
IOWriteOperations Property = "IOWriteOperations"
|
ExecStartEx Property = "ExecStartEx"
|
||||||
IPAccounting Property = "IPAccounting"
|
ExtensionImagePolicy Property = "ExtensionImagePolicy"
|
||||||
IPEgressBytes Property = "IPEgressBytes"
|
FailureAction Property = "FailureAction"
|
||||||
IPEgressPackets Property = "IPEgressPackets"
|
FileDescriptorName Property = "FileDescriptorName"
|
||||||
IPIngressBytes Property = "IPIngressBytes"
|
FileDescriptorStoreMax Property = "FileDescriptorStoreMax"
|
||||||
IPIngressPackets Property = "IPIngressPackets"
|
FinalKillSignal Property = "FinalKillSignal"
|
||||||
Id Property = "Id"
|
FlushPending Property = "FlushPending"
|
||||||
IgnoreOnIsolate Property = "IgnoreOnIsolate"
|
FragmentPath Property = "FragmentPath"
|
||||||
IgnoreSIGPIPE Property = "IgnoreSIGPIPE"
|
FreeBind Property = "FreeBind"
|
||||||
InactiveEnterTimestampMonotonic Property = "InactiveEnterTimestampMonotonic"
|
FreezerState Property = "FreezerState"
|
||||||
InactiveExitTimestamp Property = "InactiveExitTimestamp"
|
GID Property = "GID"
|
||||||
InactiveExitTimestampMonotonic Property = "InactiveExitTimestampMonotonic"
|
GuessMainPID Property = "GuessMainPID"
|
||||||
InvocationID Property = "InvocationID"
|
IOAccounting Property = "IOAccounting"
|
||||||
JobRunningTimeoutUSec Property = "JobRunningTimeoutUSec"
|
IOReadBytes Property = "IOReadBytes"
|
||||||
JobTimeoutAction Property = "JobTimeoutAction"
|
IOReadOperations Property = "IOReadOperations"
|
||||||
JobTimeoutUSec Property = "JobTimeoutUSec"
|
IOSchedulingClass Property = "IOSchedulingClass"
|
||||||
KeyringMode Property = "KeyringMode"
|
IOSchedulingPriority Property = "IOSchedulingPriority"
|
||||||
KillMode Property = "KillMode"
|
IOWeight Property = "IOWeight"
|
||||||
KillSignal Property = "KillSignal"
|
IOWriteBytes Property = "IOWriteBytes"
|
||||||
LimitAS Property = "LimitAS"
|
IOWriteOperations Property = "IOWriteOperations"
|
||||||
LimitASSoft Property = "LimitASSoft"
|
IPAccounting Property = "IPAccounting"
|
||||||
LimitCORE Property = "LimitCORE"
|
IPEgressBytes Property = "IPEgressBytes"
|
||||||
LimitCORESoft Property = "LimitCORESoft"
|
IPEgressPackets Property = "IPEgressPackets"
|
||||||
LimitCPU Property = "LimitCPU"
|
IPIngressBytes Property = "IPIngressBytes"
|
||||||
LimitCPUSoft Property = "LimitCPUSoft"
|
IPIngressPackets Property = "IPIngressPackets"
|
||||||
LimitDATA Property = "LimitDATA"
|
IPTOS Property = "IPTOS"
|
||||||
LimitDATASoft Property = "LimitDATASoft"
|
IPTTL Property = "IPTTL"
|
||||||
LimitFSIZE Property = "LimitFSIZE"
|
Id Property = "Id"
|
||||||
LimitFSIZESoft Property = "LimitFSIZESoft"
|
IgnoreOnIsolate Property = "IgnoreOnIsolate"
|
||||||
LimitLOCKS Property = "LimitLOCKS"
|
IgnoreSIGPIPE Property = "IgnoreSIGPIPE"
|
||||||
LimitLOCKSSoft Property = "LimitLOCKSSoft"
|
InactiveEnterTimestampMonotonic Property = "InactiveEnterTimestampMonotonic"
|
||||||
LimitMEMLOCK Property = "LimitMEMLOCK"
|
InactiveExitTimestamp Property = "InactiveExitTimestamp"
|
||||||
LimitMEMLOCKSoft Property = "LimitMEMLOCKSoft"
|
InactiveExitTimestampMonotonic Property = "InactiveExitTimestampMonotonic"
|
||||||
LimitMSGQUEUE Property = "LimitMSGQUEUE"
|
InvocationID Property = "InvocationID"
|
||||||
LimitMSGQUEUESoft Property = "LimitMSGQUEUESoft"
|
JobRunningTimeoutUSec Property = "JobRunningTimeoutUSec"
|
||||||
LimitNICE Property = "LimitNICE"
|
JobTimeoutAction Property = "JobTimeoutAction"
|
||||||
LimitNICESoft Property = "LimitNICESoft"
|
JobTimeoutUSec Property = "JobTimeoutUSec"
|
||||||
LimitNOFILE Property = "LimitNOFILE"
|
KeepAlive Property = "KeepAlive"
|
||||||
LimitNOFILESoft Property = "LimitNOFILESoft"
|
KeepAliveIntervalUSec Property = "KeepAliveIntervalUSec"
|
||||||
LimitNPROC Property = "LimitNPROC"
|
KeepAliveProbes Property = "KeepAliveProbes"
|
||||||
LimitNPROCSoft Property = "LimitNPROCSoft"
|
KeepAliveTimeUSec Property = "KeepAliveTimeUSec"
|
||||||
LimitRSS Property = "LimitRSS"
|
KeyringMode Property = "KeyringMode"
|
||||||
LimitRSSSoft Property = "LimitRSSSoft"
|
KillMode Property = "KillMode"
|
||||||
LimitRTPRIO Property = "LimitRTPRIO"
|
KillSignal Property = "KillSignal"
|
||||||
LimitRTPRIOSoft Property = "LimitRTPRIOSoft"
|
LimitAS Property = "LimitAS"
|
||||||
LimitRTTIME Property = "LimitRTTIME"
|
LimitASSoft Property = "LimitASSoft"
|
||||||
LimitRTTIMESoft Property = "LimitRTTIMESoft"
|
LimitCORE Property = "LimitCORE"
|
||||||
LimitSIGPENDING Property = "LimitSIGPENDING"
|
LimitCORESoft Property = "LimitCORESoft"
|
||||||
LimitSIGPENDINGSoft Property = "LimitSIGPENDINGSoft"
|
LimitCPU Property = "LimitCPU"
|
||||||
LimitSTACK Property = "LimitSTACK"
|
LimitCPUSoft Property = "LimitCPUSoft"
|
||||||
LimitSTACKSoft Property = "LimitSTACKSoft"
|
LimitDATA Property = "LimitDATA"
|
||||||
LoadState Property = "LoadState"
|
LimitDATASoft Property = "LimitDATASoft"
|
||||||
LockPersonality Property = "LockPersonality"
|
LimitFSIZE Property = "LimitFSIZE"
|
||||||
LogLevelMax Property = "LogLevelMax"
|
LimitFSIZESoft Property = "LimitFSIZESoft"
|
||||||
LogRateLimitBurst Property = "LogRateLimitBurst"
|
LimitLOCKS Property = "LimitLOCKS"
|
||||||
LogRateLimitIntervalUSec Property = "LogRateLimitIntervalUSec"
|
LimitLOCKSSoft Property = "LimitLOCKSSoft"
|
||||||
LogsDirectoryMode Property = "LogsDirectoryMode"
|
LimitMEMLOCK Property = "LimitMEMLOCK"
|
||||||
MainPID Property = "MainPID"
|
LimitMEMLOCKSoft Property = "LimitMEMLOCKSoft"
|
||||||
ManagedOOMMemoryPressure Property = "ManagedOOMMemoryPressure"
|
LimitMSGQUEUE Property = "LimitMSGQUEUE"
|
||||||
ManagedOOMMemoryPressureLimit Property = "ManagedOOMMemoryPressureLimit"
|
LimitMSGQUEUESoft Property = "LimitMSGQUEUESoft"
|
||||||
ManagedOOMPreference Property = "ManagedOOMPreference"
|
LimitNICE Property = "LimitNICE"
|
||||||
ManagedOOMSwap Property = "ManagedOOMSwap"
|
LimitNICESoft Property = "LimitNICESoft"
|
||||||
MemoryAccounting Property = "MemoryAccounting"
|
LimitNOFILE Property = "LimitNOFILE"
|
||||||
MemoryCurrent Property = "MemoryCurrent"
|
LimitNOFILESoft Property = "LimitNOFILESoft"
|
||||||
MemoryDenyWriteExecute Property = "MemoryDenyWriteExecute"
|
LimitNPROC Property = "LimitNPROC"
|
||||||
MemoryHigh Property = "MemoryHigh"
|
LimitNPROCSoft Property = "LimitNPROCSoft"
|
||||||
MemoryLimit Property = "MemoryLimit"
|
LimitRSS Property = "LimitRSS"
|
||||||
MemoryLow Property = "MemoryLow"
|
LimitRSSSoft Property = "LimitRSSSoft"
|
||||||
MemoryMax Property = "MemoryMax"
|
LimitRTPRIO Property = "LimitRTPRIO"
|
||||||
MemoryMin Property = "MemoryMin"
|
LimitRTPRIOSoft Property = "LimitRTPRIOSoft"
|
||||||
MemorySwapMax Property = "MemorySwapMax"
|
LimitRTTIME Property = "LimitRTTIME"
|
||||||
MountAPIVFS Property = "MountAPIVFS"
|
LimitRTTIMESoft Property = "LimitRTTIMESoft"
|
||||||
NFileDescriptorStore Property = "NFileDescriptorStore"
|
LimitSIGPENDING Property = "LimitSIGPENDING"
|
||||||
NRestarts Property = "NRestarts"
|
LimitSIGPENDINGSoft Property = "LimitSIGPENDINGSoft"
|
||||||
NUMAPolicy Property = "NUMAPolicy"
|
LimitSTACK Property = "LimitSTACK"
|
||||||
Names Property = "Names"
|
LimitSTACKSoft Property = "LimitSTACKSoft"
|
||||||
NeedDaemonReload Property = "NeedDaemonReload"
|
Listen Property = "Listen"
|
||||||
Nice Property = "Nice"
|
LoadState Property = "LoadState"
|
||||||
NoNewPrivileges Property = "NoNewPrivileges"
|
LockPersonality Property = "LockPersonality"
|
||||||
NonBlocking Property = "NonBlocking"
|
LogLevelMax Property = "LogLevelMax"
|
||||||
NotifyAccess Property = "NotifyAccess"
|
LogRateLimitBurst Property = "LogRateLimitBurst"
|
||||||
OOMPolicy Property = "OOMPolicy"
|
LogRateLimitIntervalUSec Property = "LogRateLimitIntervalUSec"
|
||||||
OOMScoreAdjust Property = "OOMScoreAdjust"
|
LogsDirectoryMode Property = "LogsDirectoryMode"
|
||||||
OnFailureJobMode Property = "OnFailureJobMode"
|
MainPID Property = "MainPID"
|
||||||
PIDFile Property = "PIDFile"
|
ManagedOOMMemoryPressure Property = "ManagedOOMMemoryPressure"
|
||||||
Perpetual Property = "Perpetual"
|
ManagedOOMMemoryPressureDurationUSec Property = "ManagedOOMMemoryPressureDurationUSec"
|
||||||
PrivateDevices Property = "PrivateDevices"
|
ManagedOOMMemoryPressureLimit Property = "ManagedOOMMemoryPressureLimit"
|
||||||
PrivateIPC Property = "PrivateIPC"
|
ManagedOOMPreference Property = "ManagedOOMPreference"
|
||||||
PrivateMounts Property = "PrivateMounts"
|
ManagedOOMSwap Property = "ManagedOOMSwap"
|
||||||
PrivateNetwork Property = "PrivateNetwork"
|
Mark Property = "Mark"
|
||||||
PrivateTmp Property = "PrivateTmp"
|
MaxConnections Property = "MaxConnections"
|
||||||
PrivateUsers Property = "PrivateUsers"
|
MaxConnectionsPerSource Property = "MaxConnectionsPerSource"
|
||||||
ProcSubset Property = "ProcSubset"
|
MemoryAccounting Property = "MemoryAccounting"
|
||||||
ProtectClock Property = "ProtectClock"
|
MemoryAvailable Property = "MemoryAvailable"
|
||||||
ProtectControlGroups Property = "ProtectControlGroups"
|
MemoryCurrent Property = "MemoryCurrent"
|
||||||
ProtectHome Property = "ProtectHome"
|
MemoryDenyWriteExecute Property = "MemoryDenyWriteExecute"
|
||||||
ProtectHostname Property = "ProtectHostname"
|
MemoryHigh Property = "MemoryHigh"
|
||||||
ProtectKernelLogs Property = "ProtectKernelLogs"
|
MemoryKSM Property = "MemoryKSM"
|
||||||
ProtectKernelModules Property = "ProtectKernelModules"
|
MemoryLimit Property = "MemoryLimit"
|
||||||
ProtectKernelTunables Property = "ProtectKernelTunables"
|
MemoryLow Property = "MemoryLow"
|
||||||
ProtectProc Property = "ProtectProc"
|
MemoryMax Property = "MemoryMax"
|
||||||
ProtectSystem Property = "ProtectSystem"
|
MemoryMin Property = "MemoryMin"
|
||||||
RefuseManualStart Property = "RefuseManualStart"
|
MemoryPeak Property = "MemoryPeak"
|
||||||
RefuseManualStop Property = "RefuseManualStop"
|
MemoryPressureThresholdUSec Property = "MemoryPressureThresholdUSec"
|
||||||
ReloadResult Property = "ReloadResult"
|
MemoryPressureWatch Property = "MemoryPressureWatch"
|
||||||
RemainAfterExit Property = "RemainAfterExit"
|
MemorySwapCurrent Property = "MemorySwapCurrent"
|
||||||
RemoveIPC Property = "RemoveIPC"
|
MemorySwapMax Property = "MemorySwapMax"
|
||||||
Requires Property = "Requires"
|
MemorySwapPeak Property = "MemorySwapPeak"
|
||||||
Restart Property = "Restart"
|
MemoryZSwapCurrent Property = "MemoryZSwapCurrent"
|
||||||
RestartKillSignal Property = "RestartKillSignal"
|
MemoryZSwapMax Property = "MemoryZSwapMax"
|
||||||
RestartUSec Property = "RestartUSec"
|
MemoryZSwapWriteback Property = "MemoryZSwapWriteback"
|
||||||
RestrictNamespaces Property = "RestrictNamespaces"
|
MessageQueueMaxMessages Property = "MessageQueueMaxMessages"
|
||||||
RestrictRealtime Property = "RestrictRealtime"
|
MessageQueueMessageSize Property = "MessageQueueMessageSize"
|
||||||
RestrictSUIDSGID Property = "RestrictSUIDSGID"
|
MountAPIVFS Property = "MountAPIVFS"
|
||||||
Result Property = "Result"
|
MountImagePolicy Property = "MountImagePolicy"
|
||||||
RootDirectoryStartOnly Property = "RootDirectoryStartOnly"
|
NAccepted Property = "NAccepted"
|
||||||
RuntimeDirectoryMode Property = "RuntimeDirectoryMode"
|
NConnections Property = "NConnections"
|
||||||
RuntimeDirectoryPreserve Property = "RuntimeDirectoryPreserve"
|
NFileDescriptorStore Property = "NFileDescriptorStore"
|
||||||
RuntimeMaxUSec Property = "RuntimeMaxUSec"
|
NRefused Property = "NRefused"
|
||||||
SameProcessGroup Property = "SameProcessGroup"
|
NRestarts Property = "NRestarts"
|
||||||
SecureBits Property = "SecureBits"
|
NUMAPolicy Property = "NUMAPolicy"
|
||||||
SendSIGHUP Property = "SendSIGHUP"
|
Names Property = "Names"
|
||||||
SendSIGKILL Property = "SendSIGKILL"
|
NeedDaemonReload Property = "NeedDaemonReload"
|
||||||
Slice Property = "Slice"
|
Nice Property = "Nice"
|
||||||
StandardError Property = "StandardError"
|
NoDelay Property = "NoDelay"
|
||||||
StandardInput Property = "StandardInput"
|
NoNewPrivileges Property = "NoNewPrivileges"
|
||||||
StandardOutput Property = "StandardOutput"
|
NonBlocking Property = "NonBlocking"
|
||||||
StartLimitAction Property = "StartLimitAction"
|
NotifyAccess Property = "NotifyAccess"
|
||||||
StartLimitBurst Property = "StartLimitBurst"
|
OOMPolicy Property = "OOMPolicy"
|
||||||
StartLimitIntervalUSec Property = "StartLimitIntervalUSec"
|
OOMScoreAdjust Property = "OOMScoreAdjust"
|
||||||
StartupBlockIOWeight Property = "StartupBlockIOWeight"
|
OnFailureJobMode Property = "OnFailureJobMode"
|
||||||
StartupCPUShares Property = "StartupCPUShares"
|
OnSuccessJobMode Property = "OnSuccessJobMode"
|
||||||
StartupCPUWeight Property = "StartupCPUWeight"
|
PIDFile Property = "PIDFile"
|
||||||
StartupIOWeight Property = "StartupIOWeight"
|
PassCredentials Property = "PassCredentials"
|
||||||
StateChangeTimestamp Property = "StateChangeTimestamp"
|
PassFileDescriptorsToExec Property = "PassFileDescriptorsToExec"
|
||||||
StateChangeTimestampMonotonic Property = "StateChangeTimestampMonotonic"
|
PassPacketInfo Property = "PassPacketInfo"
|
||||||
StateDirectoryMode Property = "StateDirectoryMode"
|
PassSecurity Property = "PassSecurity"
|
||||||
StatusErrno Property = "StatusErrno"
|
Perpetual Property = "Perpetual"
|
||||||
StopWhenUnneeded Property = "StopWhenUnneeded"
|
PipeSize Property = "PipeSize"
|
||||||
SubState Property = "SubState"
|
PollLimitBurst Property = "PollLimitBurst"
|
||||||
SuccessAction Property = "SuccessAction"
|
PollLimitIntervalUSec Property = "PollLimitIntervalUSec"
|
||||||
SyslogFacility Property = "SyslogFacility"
|
Priority Property = "Priority"
|
||||||
SyslogLevel Property = "SyslogLevel"
|
PrivateDevices Property = "PrivateDevices"
|
||||||
SyslogLevelPrefix Property = "SyslogLevelPrefix"
|
PrivateIPC Property = "PrivateIPC"
|
||||||
SyslogPriority Property = "SyslogPriority"
|
PrivateMounts Property = "PrivateMounts"
|
||||||
SystemCallErrorNumber Property = "SystemCallErrorNumber"
|
PrivateNetwork Property = "PrivateNetwork"
|
||||||
TTYReset Property = "TTYReset"
|
PrivatePIDs Property = "PrivatePIDs"
|
||||||
TTYVHangup Property = "TTYVHangup"
|
PrivateTmp Property = "PrivateTmp"
|
||||||
TTYVTDisallocate Property = "TTYVTDisallocate"
|
PrivateTmpEx Property = "PrivateTmpEx"
|
||||||
TasksAccounting Property = "TasksAccounting"
|
PrivateUsers Property = "PrivateUsers"
|
||||||
TasksCurrent Property = "TasksCurrent"
|
PrivateUsersEx Property = "PrivateUsersEx"
|
||||||
TasksMax Property = "TasksMax"
|
ProcSubset Property = "ProcSubset"
|
||||||
TimeoutAbortUSec Property = "TimeoutAbortUSec"
|
ProtectClock Property = "ProtectClock"
|
||||||
TimeoutCleanUSec Property = "TimeoutCleanUSec"
|
ProtectControlGroups Property = "ProtectControlGroups"
|
||||||
TimeoutStartFailureMode Property = "TimeoutStartFailureMode"
|
ProtectControlGroupsEx Property = "ProtectControlGroupsEx"
|
||||||
TimeoutStartUSec Property = "TimeoutStartUSec"
|
ProtectHome Property = "ProtectHome"
|
||||||
TimeoutStopFailureMode Property = "TimeoutStopFailureMode"
|
ProtectHostname Property = "ProtectHostname"
|
||||||
TimeoutStopUSec Property = "TimeoutStopUSec"
|
ProtectKernelLogs Property = "ProtectKernelLogs"
|
||||||
TimerSlackNSec Property = "TimerSlackNSec"
|
ProtectKernelModules Property = "ProtectKernelModules"
|
||||||
Transient Property = "Transient"
|
ProtectKernelTunables Property = "ProtectKernelTunables"
|
||||||
Type Property = "Type"
|
ProtectProc Property = "ProtectProc"
|
||||||
UID Property = "UID"
|
ProtectSystem Property = "ProtectSystem"
|
||||||
UMask Property = "UMask"
|
ReceiveBuffer Property = "ReceiveBuffer"
|
||||||
UnitFilePreset Property = "UnitFilePreset"
|
RefuseManualStart Property = "RefuseManualStart"
|
||||||
UnitFileState Property = "UnitFileState"
|
RefuseManualStop Property = "RefuseManualStop"
|
||||||
UtmpMode Property = "UtmpMode"
|
ReloadResult Property = "ReloadResult"
|
||||||
WantedBy Property = "WantedBy"
|
RemainAfterExit Property = "RemainAfterExit"
|
||||||
WatchdogSignal Property = "WatchdogSignal"
|
RemoveIPC Property = "RemoveIPC"
|
||||||
WatchdogTimestampMonotonic Property = "WatchdogTimestampMonotonic"
|
RemoveOnStop Property = "RemoveOnStop"
|
||||||
WatchdogUSec Property = "WatchdogUSec"
|
RequiredBy Property = "RequiredBy"
|
||||||
|
Requires Property = "Requires"
|
||||||
|
RequiresMountsFor Property = "RequiresMountsFor"
|
||||||
|
Restart Property = "Restart"
|
||||||
|
RestartKillSignal Property = "RestartKillSignal"
|
||||||
|
RestartUSec Property = "RestartUSec"
|
||||||
|
RestrictNamespaces Property = "RestrictNamespaces"
|
||||||
|
RestrictRealtime Property = "RestrictRealtime"
|
||||||
|
RestrictSUIDSGID Property = "RestrictSUIDSGID"
|
||||||
|
Result Property = "Result"
|
||||||
|
ReusePort Property = "ReusePort"
|
||||||
|
RootDirectoryStartOnly Property = "RootDirectoryStartOnly"
|
||||||
|
RootEphemeral Property = "RootEphemeral"
|
||||||
|
RootImagePolicy Property = "RootImagePolicy"
|
||||||
|
RuntimeDirectoryMode Property = "RuntimeDirectoryMode"
|
||||||
|
RuntimeDirectoryPreserve Property = "RuntimeDirectoryPreserve"
|
||||||
|
RuntimeMaxUSec Property = "RuntimeMaxUSec"
|
||||||
|
SameProcessGroup Property = "SameProcessGroup"
|
||||||
|
SecureBits Property = "SecureBits"
|
||||||
|
SendBuffer Property = "SendBuffer"
|
||||||
|
SendSIGHUP Property = "SendSIGHUP"
|
||||||
|
SendSIGKILL Property = "SendSIGKILL"
|
||||||
|
SetLoginEnvironment Property = "SetLoginEnvironment"
|
||||||
|
Slice Property = "Slice"
|
||||||
|
SocketMode Property = "SocketMode"
|
||||||
|
SocketProtocol Property = "SocketProtocol"
|
||||||
|
StandardError Property = "StandardError"
|
||||||
|
StandardInput Property = "StandardInput"
|
||||||
|
StandardOutput Property = "StandardOutput"
|
||||||
|
StartLimitAction Property = "StartLimitAction"
|
||||||
|
StartLimitBurst Property = "StartLimitBurst"
|
||||||
|
StartLimitIntervalUSec Property = "StartLimitIntervalUSec"
|
||||||
|
StartupBlockIOWeight Property = "StartupBlockIOWeight"
|
||||||
|
StartupCPUShares Property = "StartupCPUShares"
|
||||||
|
StartupCPUWeight Property = "StartupCPUWeight"
|
||||||
|
StartupIOWeight Property = "StartupIOWeight"
|
||||||
|
StartupMemoryHigh Property = "StartupMemoryHigh"
|
||||||
|
StartupMemoryLow Property = "StartupMemoryLow"
|
||||||
|
StartupMemoryMax Property = "StartupMemoryMax"
|
||||||
|
StartupMemorySwapMax Property = "StartupMemorySwapMax"
|
||||||
|
StartupMemoryZSwapMax Property = "StartupMemoryZSwapMax"
|
||||||
|
StateChangeTimestamp Property = "StateChangeTimestamp"
|
||||||
|
StateChangeTimestampMonotonic Property = "StateChangeTimestampMonotonic"
|
||||||
|
StateDirectoryMode Property = "StateDirectoryMode"
|
||||||
|
StatusErrno Property = "StatusErrno"
|
||||||
|
StopWhenUnneeded Property = "StopWhenUnneeded"
|
||||||
|
SubState Property = "SubState"
|
||||||
|
SuccessAction Property = "SuccessAction"
|
||||||
|
SurviveFinalKillSignal Property = "SurviveFinalKillSignal"
|
||||||
|
SyslogFacility Property = "SyslogFacility"
|
||||||
|
SyslogLevel Property = "SyslogLevel"
|
||||||
|
SyslogLevelPrefix Property = "SyslogLevelPrefix"
|
||||||
|
SyslogPriority Property = "SyslogPriority"
|
||||||
|
SystemCallErrorNumber Property = "SystemCallErrorNumber"
|
||||||
|
TTYReset Property = "TTYReset"
|
||||||
|
TTYVHangup Property = "TTYVHangup"
|
||||||
|
TTYVTDisallocate Property = "TTYVTDisallocate"
|
||||||
|
TasksAccounting Property = "TasksAccounting"
|
||||||
|
TasksCurrent Property = "TasksCurrent"
|
||||||
|
TasksMax Property = "TasksMax"
|
||||||
|
TimeoutAbortUSec Property = "TimeoutAbortUSec"
|
||||||
|
TimeoutCleanUSec Property = "TimeoutCleanUSec"
|
||||||
|
TimeoutStartFailureMode Property = "TimeoutStartFailureMode"
|
||||||
|
TimeoutStartUSec Property = "TimeoutStartUSec"
|
||||||
|
TimeoutStopFailureMode Property = "TimeoutStopFailureMode"
|
||||||
|
TimeoutStopUSec Property = "TimeoutStopUSec"
|
||||||
|
TimeoutUSec Property = "TimeoutUSec"
|
||||||
|
TimerSlackNSec Property = "TimerSlackNSec"
|
||||||
|
Timestamping Property = "Timestamping"
|
||||||
|
Transient Property = "Transient"
|
||||||
|
Transparent Property = "Transparent"
|
||||||
|
TriggerLimitBurst Property = "TriggerLimitBurst"
|
||||||
|
TriggerLimitIntervalUSec Property = "TriggerLimitIntervalUSec"
|
||||||
|
Triggers Property = "Triggers"
|
||||||
|
Type Property = "Type"
|
||||||
|
UID Property = "UID"
|
||||||
|
UMask Property = "UMask"
|
||||||
|
UnitFilePreset Property = "UnitFilePreset"
|
||||||
|
UnitFileState Property = "UnitFileState"
|
||||||
|
UtmpMode Property = "UtmpMode"
|
||||||
|
WantedBy Property = "WantedBy"
|
||||||
|
WatchdogSignal Property = "WatchdogSignal"
|
||||||
|
WatchdogTimestampMonotonic Property = "WatchdogTimestampMonotonic"
|
||||||
|
WatchdogUSec Property = "WatchdogUSec"
|
||||||
|
Writable Property = "Writable"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
package properties
|
package properties
|
||||||
|
|
||||||
var Properties = []Property{
|
var Properties = []Property{
|
||||||
|
Accept,
|
||||||
ActiveEnterTimestamp,
|
ActiveEnterTimestamp,
|
||||||
ActiveEnterTimestampMonotonic,
|
ActiveEnterTimestampMonotonic,
|
||||||
ActiveExitTimestampMonotonic,
|
ActiveExitTimestampMonotonic,
|
||||||
@@ -10,9 +11,13 @@ var Properties = []Property{
|
|||||||
AssertResult,
|
AssertResult,
|
||||||
AssertTimestamp,
|
AssertTimestamp,
|
||||||
AssertTimestampMonotonic,
|
AssertTimestampMonotonic,
|
||||||
|
Backlog,
|
||||||
Before,
|
Before,
|
||||||
|
BindIPv6Only,
|
||||||
|
BindLogSockets,
|
||||||
BlockIOAccounting,
|
BlockIOAccounting,
|
||||||
BlockIOWeight,
|
BlockIOWeight,
|
||||||
|
Broadcast,
|
||||||
CPUAccounting,
|
CPUAccounting,
|
||||||
CPUAffinityFromNUMA,
|
CPUAffinityFromNUMA,
|
||||||
CPUQuotaPerSecUSec,
|
CPUQuotaPerSecUSec,
|
||||||
@@ -26,6 +31,7 @@ var Properties = []Property{
|
|||||||
CacheDirectoryMode,
|
CacheDirectoryMode,
|
||||||
CanFreeze,
|
CanFreeze,
|
||||||
CanIsolate,
|
CanIsolate,
|
||||||
|
CanLiveMount,
|
||||||
CanReload,
|
CanReload,
|
||||||
CanStart,
|
CanStart,
|
||||||
CanStop,
|
CanStop,
|
||||||
@@ -38,17 +44,26 @@ var Properties = []Property{
|
|||||||
ConfigurationDirectoryMode,
|
ConfigurationDirectoryMode,
|
||||||
Conflicts,
|
Conflicts,
|
||||||
ControlGroup,
|
ControlGroup,
|
||||||
|
ControlGroupId,
|
||||||
ControlPID,
|
ControlPID,
|
||||||
CoredumpFilter,
|
CoredumpFilter,
|
||||||
|
CoredumpReceive,
|
||||||
|
DebugInvocation,
|
||||||
DefaultDependencies,
|
DefaultDependencies,
|
||||||
DefaultMemoryLow,
|
DefaultMemoryLow,
|
||||||
DefaultMemoryMin,
|
DefaultMemoryMin,
|
||||||
|
DefaultStartupMemoryLow,
|
||||||
|
DeferAcceptUSec,
|
||||||
Delegate,
|
Delegate,
|
||||||
Description,
|
Description,
|
||||||
DevicePolicy,
|
DevicePolicy,
|
||||||
|
DirectoryMode,
|
||||||
DynamicUser,
|
DynamicUser,
|
||||||
EffectiveCPUs,
|
EffectiveCPUs,
|
||||||
|
EffectiveMemoryHigh,
|
||||||
|
EffectiveMemoryMax,
|
||||||
EffectiveMemoryNodes,
|
EffectiveMemoryNodes,
|
||||||
|
EffectiveTasksMax,
|
||||||
ExecMainCode,
|
ExecMainCode,
|
||||||
ExecMainExitTimestampMonotonic,
|
ExecMainExitTimestampMonotonic,
|
||||||
ExecMainPID,
|
ExecMainPID,
|
||||||
@@ -59,10 +74,14 @@ var Properties = []Property{
|
|||||||
ExecReloadEx,
|
ExecReloadEx,
|
||||||
ExecStart,
|
ExecStart,
|
||||||
ExecStartEx,
|
ExecStartEx,
|
||||||
|
ExtensionImagePolicy,
|
||||||
FailureAction,
|
FailureAction,
|
||||||
|
FileDescriptorName,
|
||||||
FileDescriptorStoreMax,
|
FileDescriptorStoreMax,
|
||||||
FinalKillSignal,
|
FinalKillSignal,
|
||||||
|
FlushPending,
|
||||||
FragmentPath,
|
FragmentPath,
|
||||||
|
FreeBind,
|
||||||
FreezerState,
|
FreezerState,
|
||||||
GID,
|
GID,
|
||||||
GuessMainPID,
|
GuessMainPID,
|
||||||
@@ -79,6 +98,8 @@ var Properties = []Property{
|
|||||||
IPEgressPackets,
|
IPEgressPackets,
|
||||||
IPIngressBytes,
|
IPIngressBytes,
|
||||||
IPIngressPackets,
|
IPIngressPackets,
|
||||||
|
IPTOS,
|
||||||
|
IPTTL,
|
||||||
Id,
|
Id,
|
||||||
IgnoreOnIsolate,
|
IgnoreOnIsolate,
|
||||||
IgnoreSIGPIPE,
|
IgnoreSIGPIPE,
|
||||||
@@ -89,6 +110,10 @@ var Properties = []Property{
|
|||||||
JobRunningTimeoutUSec,
|
JobRunningTimeoutUSec,
|
||||||
JobTimeoutAction,
|
JobTimeoutAction,
|
||||||
JobTimeoutUSec,
|
JobTimeoutUSec,
|
||||||
|
KeepAlive,
|
||||||
|
KeepAliveIntervalUSec,
|
||||||
|
KeepAliveProbes,
|
||||||
|
KeepAliveTimeUSec,
|
||||||
KeyringMode,
|
KeyringMode,
|
||||||
KillMode,
|
KillMode,
|
||||||
KillSignal,
|
KillSignal,
|
||||||
@@ -124,6 +149,7 @@ var Properties = []Property{
|
|||||||
LimitSIGPENDINGSoft,
|
LimitSIGPENDINGSoft,
|
||||||
LimitSTACK,
|
LimitSTACK,
|
||||||
LimitSTACKSoft,
|
LimitSTACKSoft,
|
||||||
|
Listen,
|
||||||
LoadState,
|
LoadState,
|
||||||
LockPersonality,
|
LockPersonality,
|
||||||
LogLevelMax,
|
LogLevelMax,
|
||||||
@@ -132,42 +158,76 @@ var Properties = []Property{
|
|||||||
LogsDirectoryMode,
|
LogsDirectoryMode,
|
||||||
MainPID,
|
MainPID,
|
||||||
ManagedOOMMemoryPressure,
|
ManagedOOMMemoryPressure,
|
||||||
|
ManagedOOMMemoryPressureDurationUSec,
|
||||||
ManagedOOMMemoryPressureLimit,
|
ManagedOOMMemoryPressureLimit,
|
||||||
ManagedOOMPreference,
|
ManagedOOMPreference,
|
||||||
ManagedOOMSwap,
|
ManagedOOMSwap,
|
||||||
|
Mark,
|
||||||
|
MaxConnections,
|
||||||
|
MaxConnectionsPerSource,
|
||||||
MemoryAccounting,
|
MemoryAccounting,
|
||||||
|
MemoryAvailable,
|
||||||
MemoryCurrent,
|
MemoryCurrent,
|
||||||
MemoryDenyWriteExecute,
|
MemoryDenyWriteExecute,
|
||||||
MemoryHigh,
|
MemoryHigh,
|
||||||
|
MemoryKSM,
|
||||||
MemoryLimit,
|
MemoryLimit,
|
||||||
MemoryLow,
|
MemoryLow,
|
||||||
MemoryMax,
|
MemoryMax,
|
||||||
MemoryMin,
|
MemoryMin,
|
||||||
|
MemoryPeak,
|
||||||
|
MemoryPressureThresholdUSec,
|
||||||
|
MemoryPressureWatch,
|
||||||
|
MemorySwapCurrent,
|
||||||
MemorySwapMax,
|
MemorySwapMax,
|
||||||
|
MemorySwapPeak,
|
||||||
|
MemoryZSwapCurrent,
|
||||||
|
MemoryZSwapMax,
|
||||||
|
MemoryZSwapWriteback,
|
||||||
|
MessageQueueMaxMessages,
|
||||||
|
MessageQueueMessageSize,
|
||||||
MountAPIVFS,
|
MountAPIVFS,
|
||||||
|
MountImagePolicy,
|
||||||
|
NAccepted,
|
||||||
|
NConnections,
|
||||||
NFileDescriptorStore,
|
NFileDescriptorStore,
|
||||||
|
NRefused,
|
||||||
NRestarts,
|
NRestarts,
|
||||||
NUMAPolicy,
|
NUMAPolicy,
|
||||||
Names,
|
Names,
|
||||||
NeedDaemonReload,
|
NeedDaemonReload,
|
||||||
Nice,
|
Nice,
|
||||||
|
NoDelay,
|
||||||
NoNewPrivileges,
|
NoNewPrivileges,
|
||||||
NonBlocking,
|
NonBlocking,
|
||||||
NotifyAccess,
|
NotifyAccess,
|
||||||
OOMPolicy,
|
OOMPolicy,
|
||||||
OOMScoreAdjust,
|
OOMScoreAdjust,
|
||||||
OnFailureJobMode,
|
OnFailureJobMode,
|
||||||
|
OnSuccessJobMode,
|
||||||
PIDFile,
|
PIDFile,
|
||||||
|
PassCredentials,
|
||||||
|
PassFileDescriptorsToExec,
|
||||||
|
PassPacketInfo,
|
||||||
|
PassSecurity,
|
||||||
Perpetual,
|
Perpetual,
|
||||||
|
PipeSize,
|
||||||
|
PollLimitBurst,
|
||||||
|
PollLimitIntervalUSec,
|
||||||
|
Priority,
|
||||||
PrivateDevices,
|
PrivateDevices,
|
||||||
PrivateIPC,
|
PrivateIPC,
|
||||||
PrivateMounts,
|
PrivateMounts,
|
||||||
PrivateNetwork,
|
PrivateNetwork,
|
||||||
|
PrivatePIDs,
|
||||||
PrivateTmp,
|
PrivateTmp,
|
||||||
|
PrivateTmpEx,
|
||||||
PrivateUsers,
|
PrivateUsers,
|
||||||
|
PrivateUsersEx,
|
||||||
ProcSubset,
|
ProcSubset,
|
||||||
ProtectClock,
|
ProtectClock,
|
||||||
ProtectControlGroups,
|
ProtectControlGroups,
|
||||||
|
ProtectControlGroupsEx,
|
||||||
ProtectHome,
|
ProtectHome,
|
||||||
ProtectHostname,
|
ProtectHostname,
|
||||||
ProtectKernelLogs,
|
ProtectKernelLogs,
|
||||||
@@ -175,12 +235,16 @@ var Properties = []Property{
|
|||||||
ProtectKernelTunables,
|
ProtectKernelTunables,
|
||||||
ProtectProc,
|
ProtectProc,
|
||||||
ProtectSystem,
|
ProtectSystem,
|
||||||
|
ReceiveBuffer,
|
||||||
RefuseManualStart,
|
RefuseManualStart,
|
||||||
RefuseManualStop,
|
RefuseManualStop,
|
||||||
ReloadResult,
|
ReloadResult,
|
||||||
RemainAfterExit,
|
RemainAfterExit,
|
||||||
RemoveIPC,
|
RemoveIPC,
|
||||||
|
RemoveOnStop,
|
||||||
|
RequiredBy,
|
||||||
Requires,
|
Requires,
|
||||||
|
RequiresMountsFor,
|
||||||
Restart,
|
Restart,
|
||||||
RestartKillSignal,
|
RestartKillSignal,
|
||||||
RestartUSec,
|
RestartUSec,
|
||||||
@@ -188,15 +252,22 @@ var Properties = []Property{
|
|||||||
RestrictRealtime,
|
RestrictRealtime,
|
||||||
RestrictSUIDSGID,
|
RestrictSUIDSGID,
|
||||||
Result,
|
Result,
|
||||||
|
ReusePort,
|
||||||
RootDirectoryStartOnly,
|
RootDirectoryStartOnly,
|
||||||
|
RootEphemeral,
|
||||||
|
RootImagePolicy,
|
||||||
RuntimeDirectoryMode,
|
RuntimeDirectoryMode,
|
||||||
RuntimeDirectoryPreserve,
|
RuntimeDirectoryPreserve,
|
||||||
RuntimeMaxUSec,
|
RuntimeMaxUSec,
|
||||||
SameProcessGroup,
|
SameProcessGroup,
|
||||||
SecureBits,
|
SecureBits,
|
||||||
|
SendBuffer,
|
||||||
SendSIGHUP,
|
SendSIGHUP,
|
||||||
SendSIGKILL,
|
SendSIGKILL,
|
||||||
|
SetLoginEnvironment,
|
||||||
Slice,
|
Slice,
|
||||||
|
SocketMode,
|
||||||
|
SocketProtocol,
|
||||||
StandardError,
|
StandardError,
|
||||||
StandardInput,
|
StandardInput,
|
||||||
StandardOutput,
|
StandardOutput,
|
||||||
@@ -207,6 +278,11 @@ var Properties = []Property{
|
|||||||
StartupCPUShares,
|
StartupCPUShares,
|
||||||
StartupCPUWeight,
|
StartupCPUWeight,
|
||||||
StartupIOWeight,
|
StartupIOWeight,
|
||||||
|
StartupMemoryHigh,
|
||||||
|
StartupMemoryLow,
|
||||||
|
StartupMemoryMax,
|
||||||
|
StartupMemorySwapMax,
|
||||||
|
StartupMemoryZSwapMax,
|
||||||
StateChangeTimestamp,
|
StateChangeTimestamp,
|
||||||
StateChangeTimestampMonotonic,
|
StateChangeTimestampMonotonic,
|
||||||
StateDirectoryMode,
|
StateDirectoryMode,
|
||||||
@@ -214,6 +290,7 @@ var Properties = []Property{
|
|||||||
StopWhenUnneeded,
|
StopWhenUnneeded,
|
||||||
SubState,
|
SubState,
|
||||||
SuccessAction,
|
SuccessAction,
|
||||||
|
SurviveFinalKillSignal,
|
||||||
SyslogFacility,
|
SyslogFacility,
|
||||||
SyslogLevel,
|
SyslogLevel,
|
||||||
SyslogLevelPrefix,
|
SyslogLevelPrefix,
|
||||||
@@ -231,8 +308,14 @@ var Properties = []Property{
|
|||||||
TimeoutStartUSec,
|
TimeoutStartUSec,
|
||||||
TimeoutStopFailureMode,
|
TimeoutStopFailureMode,
|
||||||
TimeoutStopUSec,
|
TimeoutStopUSec,
|
||||||
|
TimeoutUSec,
|
||||||
TimerSlackNSec,
|
TimerSlackNSec,
|
||||||
|
Timestamping,
|
||||||
Transient,
|
Transient,
|
||||||
|
Transparent,
|
||||||
|
TriggerLimitBurst,
|
||||||
|
TriggerLimitIntervalUSec,
|
||||||
|
Triggers,
|
||||||
Type,
|
Type,
|
||||||
UID,
|
UID,
|
||||||
UMask,
|
UMask,
|
||||||
@@ -243,4 +326,5 @@ var Properties = []Property{
|
|||||||
WatchdogSignal,
|
WatchdogSignal,
|
||||||
WatchdogTimestampMonotonic,
|
WatchdogTimestampMonotonic,
|
||||||
WatchdogUSec,
|
WatchdogUSec,
|
||||||
|
Writable,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user