fix: run service as interactive process to access user desktop
This commit is contained in:
parent
3de8339cc0
commit
48a55317cf
@ -180,6 +180,8 @@ if ($agentScript) {
|
||||
& $nssmPath set $ServiceName AppRotateFiles 1
|
||||
& $nssmPath set $ServiceName AppRotateBytes 10485760
|
||||
& $nssmPath set $ServiceName Start SERVICE_AUTO_START
|
||||
& $nssmPath set $ServiceName Type SERVICE_INTERACTIVE_PROCESS
|
||||
& $nssmPath set $ServiceName ObjectName "LocalSystem"
|
||||
& $nssmPath set $ServiceName AppExit Default Restart
|
||||
& $nssmPath set $ServiceName AppRestartDelay 5000
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user