-
I have had the BBS running nicely on two different systems - one local, one an Ubuntu VM in Azure. My question is how to write a wrapper shell script so I can use a crontab to spawn the BBS. I've run MUDs for many years amongst other things in such environments. A script like so: #!/bin/sh Enigma BBS startup scriptnode ./main.js is what it looks like in psTEST= ...does not work. It'll work to spawn the bbs from an interactive session, and prevent it from respawning from another console window, but my whole point is to spawn Enigma non-interactively. I put it in the crontab because that will respawn it if it crashes, which is a problem i've had with other daemons over time. I'm probably just being dumb about how node works. Thanks for your attention. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
And I just saw PM2 so i'm investigating that now. Maybe solves my issue. |
Beta Was this translation helpful? Give feedback.
And I just saw PM2 so i'm investigating that now. Maybe solves my issue.