feat(systemd): support configurable service environment variables

This commit is contained in:
2026-06-01 08:08:01 +00:00
parent 704d8328ef
commit 142b69ab63
6 changed files with 1441 additions and 2969 deletions
+2
View File
@@ -10,6 +10,7 @@ export interface ISmartDaemonServiceConstructorOptions {
version: string;
user?: string;
group?: string;
environment?: Record<string, string>;
}
/**
@@ -36,6 +37,7 @@ export class SmartDaemonService implements ISmartDaemonServiceConstructorOptions
public description!: string;
public user?: string;
public group?: string;
public environment?: Record<string, string>;
public smartdaemonRef: SmartDaemon;