[Pharo-users] Running pharo in daemon mode

Pierce Ng pierce at samadhiweb.com
Mon Feb 18 20:18:36 EST 2019


On Mon, Feb 18, 2019 at 04:39:03PM -0500, sergio ruiz wrote:
> I found my issue.. I need to be running in daemon mode.. i was running with
> &, but as soon as my connection lets go, the app dies..

My daemontools run file:

  #!/bin/sh
  /usr/bin/setuidgid app1 \
    /pkg/vm/pharo -vm-display-null -vm-sound-null app1.image --no-quit

My Dockerfile CMD

  /pkg/vm/pharo -vm-display-null -vm-sound-null app.image --no-quit st runApp.st

You could also try '-headless' instead of '-vm-display-null'. 

Pierce



More information about the Pharo-users mailing list