Files
ansiblings/cubes/service/autostart/manifest.mjs
T

17 lines
540 B
JavaScript
Raw Normal View History

2026-07-27 13:09:00 +02:00
import { cubes } from '@bitstack/nopy';
import { z } from 'zod';
export default cubes.Manifest({
id: 'service:autostart',
name: 'Manage systemd service autostart',
dependencies: () => [],
schema: z.object({
APP: z.string().describe('The name of the systemd service (e.g., flintstone)'),
SERVICE_NAME: z
.string()
.optional()
.describe('Display name for the service')
.default('Application'),
2026-07-27 13:09:00 +02:00
AUTOSTART: z.boolean().describe('Should the service be enabled and started?').default(true),
}),
});