[ https://issues.apache.org/jira/browse/DAEMON-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17825847#comment-17825847 ]
Aaron Goodisman commented on DAEMON-439: ---------------------------------------- FYI, I have figured out how to repro the problem. Setting {{--Startup=delayed}} works correctly for an {{install}} command. Setting {{--Startup=delayed}} for an {{update}} command changes the service to Manual startup. {{--Startup=auto}} works correctly, however. > prunsrv '--Startup=delayed' sets manual mode instead > ---------------------------------------------------- > > Key: DAEMON-439 > URL: https://issues.apache.org/jira/browse/DAEMON-439 > Project: Commons Daemon > Issue Type: Bug > Components: prunsrv > Affects Versions: 1.2.4 > Reporter: Gregory Kotsaftis > Priority: Minor > Fix For: 1.3.0 > > > Trying to replace AUTO for DELAYED in my long used custom service > installation script, defaults to MANUAL. It seems auto and manual are set as > expected but delayed is never set! > c:\prunsrv.exe //IS//MyServer --DisplayName="My Server" --Description="My > application server" --Install="c:\prunsrv.exe" --Startup=delayed > --StartMode=exe --StartImage="c:\app\myexe.exe" --StartPath="c:\app" > --StartParams=start --StopMode=exe --StopImage="c:\app\myexe.exe" > --StopPath="c:\app" --StopParams=stop --LogPath="c:\app" --LogPrefix=myserver > --LogLevel=info --StdOutput=auto --StdError=auto -- This message was sent by Atlassian Jira (v8.20.10#820010)