feat(systemd-manager): Support sudo password and root detection in SystemdManager; add user/group support in services and templates; add tests and expand README

This commit is contained in:
2025-09-03 11:16:45 +00:00
parent 0ae3b9a5ec
commit 972688b8be
9 changed files with 552 additions and 78 deletions

View File

@@ -8,6 +8,8 @@ export interface ISmartDaemonServiceConstructorOptions {
command: string;
workingDir: string;
version: string;
user?: string;
group?: string;
}
/**
@@ -33,6 +35,8 @@ export class SmartDaemonService implements ISmartDaemonServiceConstructorOptions
public command: string;
public workingDir: string;
public description: string;
public user?: string;
public group?: string;
public smartdaemonRef: SmartDaemon;