You can do it from cron. You need to specify the paths of everything to 
make sure it picks it up. 

For example, first run "crontab -e" to open the crontab and add this line 
at the end. Alter the parts in <>'s to your own

This is the basic one:
@reboot <path to tiddly>/tiddlywiki <full path to wiki> --server 

To get the <path to tiddly> run "whereis tiddlywiki".
An example fully filled out one would be:

@reboot /usr/local/bin/tiddlywiki /home/user/tiddly/mywiki --server


You can add your extra server options as well to add user names and remote 
access like so:
@reboot /usr/local/bin/tiddlywiki /home/user/tiddly/mywiki --server 8080 "" 
"" "" "<username>" "<password>"  0.0.0.0 ""

On Sunday, 12 January 2014 23:47:22 UTC, Wildscot wrote:
>
> I've installed TW5 with node.js on a VPS running Ubuntu Server 12.04. 
>
> I'm looking for the best way to have the 'tiddlywiki --server' launch when 
> I boot the server, rather than manually.
> I'm new to node.js and from having a quick look it seems I want to be 
> looking at 'forever' and an upstart script, does that sound about right?
>
> Before I start delving into it I thought I'd check with the community 
> whether I was barking up the right tree or whether there was another 
> recommended approach.
>
> Many Thanks,
>
> James
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1214721-672c-4b35-abd7-b2ef55338148%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to