How to fail a systemd service if an error is raised from python script it is running?

后端 未结 0 1174
臣服心动
臣服心动 2020-11-30 01:04

I am running a python script as daemon service using systemd, at times, I have set up to code to raise an exception in certain situations. However that does not fail my syst

相关标签:
回答
  • 消灭零回复
提交回复
热议问题