You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Aaron Goodisman (Jira)" <ji...@apache.org> on 2024/02/22 20:19:00 UTC
[jira] [Commented] (DAEMON-439) prunsrv '--Startup=delayed' sets manual mode instead
[ https://issues.apache.org/jira/browse/DAEMON-439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819796#comment-17819796 ]
Aaron Goodisman commented on DAEMON-439:
----------------------------------------
Is it possible that this is not actually fixed for the 64-bit version? I have just downloaded 1.3.4 and observe the same behavior as OP: auto and manual work fine, but delayed results in the service being set for manual. This is true for both update and install.
Also, if I manually set the service to Automatic (Delayed Start) in the Windows service manager, and then use {{{}print{}}}, it does nor print out anything for --Startup. Although, on further investigation, it doesn't print any value for --Startup for {{auto}} either.
> 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)