Re: Ci automated deploy of seaside to Digital Ocean
Tim Mackinnon <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Thanks everyone for sharing these - having some updated examples is very useful (hopefully to others too). Pierce you’ve also reminded me that the pharo zero conf run script needs updating to use those newer vm params like you have. Tim Sent from my iPhone > On 13 May 2018, at 03:56, Pierce Ng <[email protected]> wrote: > >> On Fri, May 11, 2018 at 12:45:55PM +0100, Tim Mackinnon wrote: >> One small thought - I’ve been using >> my default root login account (the tutorials showing Digital Ocean >> all seem to do this) - I have a nagging feeling this isn’t so cool - >> but I’m not sure what the general practice is these days with cloud >> infrastructure? > > I use daemontools. It runs as root and starts Pharo as a dedicated uid > configured in its run file directly: > > #!/bin/sh > /usr/bin/setuidgid app1 \ > /pkg/pharo5vm/gopharo -vm-display-null -vm-sound-null smallcms1.image --no-quit > > gopharo is a script: > > #!/bin/sh > PHAROVMPATH=$(dirname `readlink -f "$0"`) > LD_LIBRARY_PATH="$PHAROVMPATH" exec "$PHAROVMPATH/pharo" $@ & > > I use gopharo because I place my application-specific shared libraries > (such as custom-built libsqlite.so) in the Pharo VM directory, which is > /pkg/pharo5vm/ in my setup. > > Pierce > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside