Closed XavSPM closed 5 months ago
Apologies, there's another PR under discussion at the moment that will significantly change the AsyncioDispatcher: https://github.com/dls-controls/pythonSoftIOC/pull/138. It would probably be best to wait until that one is merged before thinking about this one, as it will require refactoring.
Noted. I'm waiting for merger #138.
Do you think there will be many changes to make following the merger?
The other PR has now been merged. There is a conflict that will need fixing.
Hello, @AlexanderWells-diamond
I created another pull request (#156) following merger #138
I propose adding the
non_interactive_ioc
function to allow the use of softioc in daemon mode. This mode can, for example, be used with systemd. It is compatible withasyncio
andcothread
.To ensure that information is correctly logged in the journal, it is recommended to execute the Python script with the
-u
option or to set the environment variablePYTHONUNBUFFERED=TRUE
.Here is an example of a service:
And an example of a script: