Replies: 4 comments 6 replies
-
Well, Just to make sure I understand correctly: the complaint is just that you need two commands?
Because "restart" is not the same as "stop" + "start". There was a discussion about this a little while back but I can't find it now.
|
Beta Was this translation helpful? Give feedback.
-
The earlier discussion was here: #300 |
Beta Was this translation helpful? Give feedback.
-
I think I don't understand how dependency / active state works in dinit. I usually just do
I don't see square brackets in the output of |
Beta Was this translation helpful? Give feedback.
-
I regret Github Discussions already :( |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I had the need to use
dinitctl start X || dinitctl restart X
for a few times now.When developing an application, and that application also runs under dinit, sometimes it crashes. I need a command to start a new version of the application (in build script) no matter if it was running or not.
I also have trouble understanding why
dinitctl restart X
doesn't start a service if it has not started.Describe the solution you'd like
dinitctl start --stop-if-running X
Beta Was this translation helpful? Give feedback.
All reactions