ThePrez / ServiceCommander-IBMi

Service Commander for IBM i
Apache License 2.0
40 stars 12 forks source link

[FEATURE-REQUEST] `start` and `restart` should act similarly #215

Closed worksofliam closed 1 year ago

worksofliam commented 1 year ago
image
chrjorgensen commented 1 year ago

@worksofliam I don't agree on this request - I see a clear difference between starting a service and restarting it!

Unlike an app, a service can serve multiple users and connections, not just one user. If start acted like restart and ended the service before starting it again, it could break active user sessions.

If you want to start your app and have it end an already running instance first, just use restart instead of start, as @ThePrez suggests:

image

worksofliam commented 1 year ago

@chrjorgensen

If you want to start your app and have it end an already running instance first, just use restart instead of start, as @ThePrez suggests:

That makes complete sense. Thank you!