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/03/12 22:18:00 UTC
[jira] [Comment Edited] (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=17825847#comment-17825847 ]
Aaron Goodisman edited comment on DAEMON-439 at 3/12/24 10:17 PM:
------------------------------------------------------------------
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.
was (Author: JIRAUSER296221):
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)