Hi James Glad you've got things working.
> Not sure why $HOME is needed, but it seems to be: The reason is that you've omitted the wiki folder from the tiddlywiki command line, causing it to default to the current folder. You could rephrase the command as: exec /home/james/local/bin/node /home/james/local/lib/node_modules/tiddlywiki/tiddlywiki.js /home/user/mywiki --server Best wishes Jeremy. On Mon, Dec 15, 2014 at 11:07 PM, Wildscot <[email protected]> wrote: > > Actually I see now that this was covered in a few other threads, probably > worth mentioning in regard to these scripts anyway. > > > On Monday, 15 December 2014 22:56:58 UTC, Wildscot wrote: >> >> Supervisor may well be the way to go, I'll have a look into it. >> >> Meanwhile... >> >> I've just updated Tiddlywiki to 5.1.5 from one of the betas - it broke >> and I couldn't get at it from the browser at all. >> After much fiddling about I've realised that it's now serving from >> 127.0.0.1 in order to get it working I had to edit that Upstart script, I'm >> assuming it would be the same for the supervisor script. >> >> --server 8080 $:/core/save/all text/plain text/html mylogin mypassword >> 0.0.0.0 >> >> I'm guessing it used to serve on 0.0.0.0 by default? >> >> On Saturday, 25 January 2014 11:28:15 UTC, [email protected] wrote: >>> >>> Hi all, >>> Also found some useful hints from the install of ghost (which is also >>> based on node.js), for users of linux for example >>> >>> >>> http://docs.ghost.org/installation/deploy/ >>> >>> apt-get install supervisor >>> vi /etc/supervisor/conf.d/tiddlywiki.conf >>> >>> >>> ``` >>> [program:tiddlywiki] >>> command = node /usr/local/bin/tiddlywiki --verbose --server 8080 >>> $:/core/save/all text/plain text/html mylogin mypassword >>> directory = /home/whatever-you-want/wiki/tw5 >>> user = myself >>> autostart = true >>> autorestart = true >>> stdout_logfile = /var/log/supervisor/tw5.log >>> stderr_logfile = /var/log/supervisor/tw5_err.log >>> environment = NODE_ENV="production" >>> ``` >>> >>> supervisorctl start >>> >>> >>> >>> Le mardi 21 janvier 2014 00:26:47 UTC+1, Marcel Kaczala a écrit : >>>> >>>> No, you have to forever start the bin: >>>> >>>> forever start --spinSleepTime 10000 ~/local/bin/tiddlywiki --server >>>> >>> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- Jeremy Ruston mailto:[email protected] -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

