How do I run a node.js app as a background service?

前端 未结 26 1384
隐瞒了意图╮
隐瞒了意图╮ 2020-11-22 05:28

Since this post has gotten a lot of attention over the years, I\'ve listed the top solutions per platform at the bottom of this post.


Original post

26条回答
  •  温柔的废话
    2020-11-22 05:59

    has anyone noticed a trivial mistaken of the position of "2>&1" ?

    2>&1 >> file
    

    should be

    >> file 2>&1
    

提交回复
热议问题