feat(systemd): support configurable service environment variables
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user