Replies: 4 comments 1 reply
-
So, just to clarify, the service is running when it's then disabled and The latter is the intended state transition: RUNNING -> -E -> STOPPING -> post:script -> CLEANUP -> HALTED. The Tip: I use the
|
Beta Was this translation helpful? Give feedback.
-
Is there a docker image I could use to run the tests? |
Beta Was this translation helpful? Give feedback.
-
I've now updated the See the latest run here: https://github.com/troglobit/finit/actions/runs/8400401702 As you can see, the post:script is called in all permutations the test runs. That's not to say there isn't a possible bug here, only that I cannot reproduce it. If you can describe or provide a test to reproduce the issues you see, with the latest master, I'm more than happy to have a look at it. Many stability fixes have gone into Finit over the last couple of releases. If you are not running the latest v4.7 release, I suggest planning an upgrade. There are also a few interesting fixes on |
Beta Was this translation helpful? Give feedback.
-
Ok, many thanks. I'll go back to see if our handling of states are ok. |
Beta Was this translation helpful? Give feedback.
-
If a service is disabled and the service has a post-rule in it's configlet, the post-rule doesn't seems to run. Is there a preferred way of handling this or should finit go from enabled -> stopped -> disabled in this case?
Beta Was this translation helpful? Give feedback.
All reactions