Re: [Pharo-users] Running pharo in daemon mode

2019-02-21 Thread Pierce Ng
On Tue, Feb 19, 2019 at 05:17:34AM -0800, sergio ruiz wrote: > My daemontools run file looks like: > but for some reason, it just sits and grinds and restarts.. never remaining > started for more than a second.. PharoDebug.log or "ps ax | egrep readproctitle" should contain some clues. > VM="/ho

Re: [Pharo-users] Running pharo in daemon mode

2019-02-19 Thread sergio ruiz
My daemontools run file looks like: #!/bin/bash # settings USER="bandtracker" VM="/home/bandtracker/pharoImages/pharo" VM_PARAMS="-mmap 256m -vm-sound-null -vm-display-null" IMAGE="/home/bandtracker/pharoImages/Pharo.image" # start the vm exec \ setuidgid "$USER" \ "$VM" $VM_PARAMS "$IMA

Re: [Pharo-users] Running pharo in daemon mode

2019-02-18 Thread Pierce Ng
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

Re: [Pharo-users] Running pharo in daemon mode

2019-02-18 Thread Sven Van Caekenberghe
There are many options. Did you read https://ci.inria.fr/pharo-contribution/job/EnterprisePharoBook/lastSuccessfulBuild/artifact/book-result/DeploymentWeb/DeployForProduction.html ? You can also study this https://github.com/svenvc/pharo-server-tools nohup is an easy to use, quick and dirty so

[Pharo-users] Running pharo in daemon mode

2019-02-18 Thread sergio ruiz
Hey, all.. 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.. I tried using daemon tools, but it looks like the site stays up for one second, and a new PID is generated.. Anyone have any hints on how people are doin