-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsvchostify.schema.json
More file actions
111 lines (111 loc) · 2.83 KB
/
svchostify.schema.json
File metadata and controls
111 lines (111 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"workType": {
"type": "string",
"enum": [
"com",
"pure_c",
"jvm",
"executable"
],
"description": "The type of the service"
},
"name": {
"type": "string",
"description": "The name of the service"
},
"displayName": {
"type": "string",
"description": "The display name of the service"
},
"context": {
"type": "string",
"description": "Arbitrary content according to the work type: a coclass {GUID} for 'com', a DLL path for 'pure_c', a CLASSPATH for 'jvm', an EXE path for 'executable'"
},
"accountType": {
"type": "string",
"enum": [
"localSystem",
"networkService",
"localService"
],
"description": "The account type under which the service runs"
},
"standalone": {
"type": "boolean",
"description": "Indicates whether to run as a standalone service (hosted in 'rundll32.exe') instead of 'svchost.exe'",
"optional": true
},
"postQuitMessage": {
"type": "boolean",
"description": "Indicates whether to post a quit message before the service exits when the type is 'executable'",
"optional": true
},
"description": {
"type": "string",
"description": "A description of the service",
"optional": true
},
"jdkDirectory": {
"type": "string",
"description": "The JDK Directory",
"optional": true
},
"workingDirectory": {
"type": "string",
"description": "The initial working directory",
"optional": true
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"description": "The startup arguments for the service",
"optional": true
},
"dllDirectories": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional directories for loading DLLs",
"optional": true
},
"logger": {
"type": "object",
"properties": {
"basePath": {
"type": "string",
"description": "The base path of the logging file"
},
"maxSize": {
"type": "string",
"description": "The maximum size of one single log file",
"pattern": "^[0-9]+\\s*(KiB|MiB|GiB|TiB)?$",
"optional": true
},
"maxFiles": {
"type": "number",
"description": "The maximum count of log files",
"optional": true
}
},
"required": [
"basePath"
],
"description": "Logger configuration object",
"optional": true
}
},
"required": [
"workType",
"name",
"displayName",
"context",
"accountType"
],
"additionalProperties": false
}