diff --git a/components/config/ConfigTable.tsx b/components/config/ConfigTable.tsx
index 07432f6..a9098b6 100644
--- a/components/config/ConfigTable.tsx
+++ b/components/config/ConfigTable.tsx
@@ -91,7 +91,6 @@ export function ConfigTable({ configs }: ConfigTableProps) {
Autostart
Priority |
- Processes |
@@ -117,8 +116,7 @@ export function ConfigTable({ configs }: ConfigTableProps) {
)}
/>
- {config.priority} |
- {config.numprocs} |
+ {config.process_prio} |
))}
@@ -159,15 +157,9 @@ export function ConfigTable({ configs }: ConfigTableProps) {
{config.directory}
-
-
- Priority:
- {config.priority}
-
-
- Processes:
- {config.numprocs}
-
+
+ Priority:
+ {config.process_prio}
diff --git a/lib/supervisor/types.ts b/lib/supervisor/types.ts
index d9872da..7d1a542 100644
--- a/lib/supervisor/types.ts
+++ b/lib/supervisor/types.ts
@@ -62,32 +62,33 @@ export const ConfigInfoSchema = z.object({
name: z.string(),
group: z.string(),
autostart: z.boolean(),
- directory: z.union([z.string(), z.null()]),
+ autorestart: z.string(), // "auto", "none", or "unexpected"
+ directory: z.string(),
command: z.string(),
- environment: z.union([z.string(), z.null()]),
exitcodes: z.array(z.number()),
+ group_prio: z.number(),
+ inuse: z.boolean(),
+ killasgroup: z.boolean(),
+ process_prio: z.number(),
redirect_stderr: z.boolean(),
+ serverurl: z.string(),
+ startretries: z.number(),
+ startsecs: z.number(),
stderr_capture_maxbytes: z.number(),
stderr_events_enabled: z.boolean(),
stderr_logfile: z.string(),
stderr_logfile_backups: z.number(),
stderr_logfile_maxbytes: z.number(),
+ stderr_syslog: z.boolean(),
+ stopsignal: z.number(), // Signal number (e.g., 15 for SIGTERM)
+ stopwaitsecs: z.number(),
stdout_capture_maxbytes: z.number(),
stdout_events_enabled: z.boolean(),
stdout_logfile: z.string(),
stdout_logfile_backups: z.number(),
stdout_logfile_maxbytes: z.number(),
- stopsignal: z.string(),
- stopwaitsecs: z.number(),
- priority: z.number(),
- startretries: z.number(),
- startsecs: z.number(),
- process_name: z.string(),
- numprocs: z.number(),
- numprocs_start: z.number(),
- uid: z.union([z.number(), z.null()]),
- username: z.union([z.string(), z.null()]),
- inuse: z.boolean(),
+ stdout_syslog: z.boolean(),
+ uid: z.string(), // Username string
});
export const ReloadConfigResultSchema = z.object({