Erlang start application in production

前端 未结 3 1335
甜味超标
甜味超标 2021-02-06 14:39

When I\'m testing my erlang application on localhost, I have a script that starts the server that looks like the following:

#!/bin/sh
PWD=\"$(pwd)\"
NAME=\"$(bas         


        
3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 15:01

    Well, you could try hooking it in to Apache (see here), or a simple solution that's not quite as hacky as screen sessions is to use nohup. If you're actually implementing this on a production server, and don't want to take the Apache route, you might consider an init script.

提交回复
热议问题