Skip to content

How to use a pythonSoftIOC script with systemd? #113

Answered by Araneidae
asarkar-parsys asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you should have no problem running your IOC under procServ, we do that all the time at DLS. I imagine what is happening at the moment is that your IOC is being launched with stdin connected to /dev/null, is trying to read (because you've enabled the interactive shell), receiving EOF and terminating. To be honest, this is as expected!

So either remove the interactive shell (if you're using cothread you can block with cothread.WaitForQuit() instead), or more usefully, run under procServ.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Araneidae
Comment options

Answer selected by Araneidae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #112 on October 14, 2022 08:23.