Files
ansiblings/cubes/service/autostart/manifest.mjs
T
Benjamin Diedrichsen fcc181700e
Release / release (push) Successful in 1m0s
test release nopy-alpha5
2026-07-27 17:07:18 +02:00

18 lines
541 B
JavaScript

import { cubes } from '@bitsquare/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'),
AUTOSTART: z.boolean().describe('Should the service be enabled and started?').default(true),
}),
});