mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-05-27 12:52:27 +02:00
cmd/cli: change "ctrld start" behavior
Without reading the documentation, users may think that "ctrld start" will just start ctrld service. However, this is not the case, and may lead to unexpected result from user's point of view. This commit changes "ctrld start" to just start already installed ctrld service, so users won't lost what they did installed before. If there are any arguments specified, performing the current behavior.
This commit is contained in:
committed by
Cuong Manh Le
parent
c233ad9b1b
commit
3b71d26cf3
@@ -37,6 +37,7 @@ var (
|
||||
deactivationPin int64
|
||||
skipSelfChecks bool
|
||||
cleanup bool
|
||||
startOnly bool
|
||||
|
||||
mainLog atomic.Pointer[zerolog.Logger]
|
||||
consoleWriter zerolog.ConsoleWriter
|
||||
|
||||
Reference in New Issue
Block a user