OSX launchd plist for node forever process

前端 未结 5 488
旧时难觅i
旧时难觅i 2021-02-03 12:24

I am trying to write a launchd.plist file for my node server. I am using forever to run my node server. I would like the server to start on boot. I would also like to wait fo

5条回答
  •  北恋
    北恋 (楼主)
    2021-02-03 13:04

    I'm not sure when node-launchd came out. However, it seems to be the more reliable solution.

    The solution in which a workflow is created and added into the login item is also well appreciated. However, the problem is that if the app is served on a server and when the server is restarted, I wonder the app will be started before the user login to the system. Didn't try, though.

提交回复
热议问题