When should the option RemainAfterExit needs to be set true when creating new systemd services?

后端 未结 3 1095
萌比男神i
萌比男神i 2021-01-03 20:19

I am trying to write a few services. Some of them have \'type\' option set to oneshot. But i am still confused when the option \'RemainAfterExit\' needs to be set true. (not

3条回答
  •  一个人的身影
    2021-01-03 20:57

    The flag is useful for your own bookkeeping and accounting. If it's useful to you to consider the service active after's finished, you can set the flag.

提交回复
热议问题