1. Run Swiki first to choose the port and then start the service. Click Save and Exit while the service is running.
2. In a command window, enter a command similar to the following:
D:\Winterlong\ComSwiki\squeak -log: "D:\Winterlong\ComSwiki\log\log.txt" -service: "Swiki" "D:\Winterlong\ComSwiki\squeak.image"
where the -log: "D:\Winterlong\ComSwiki\log\log.txt" is optional.
3. In the squeak.ini file, add the line
How about posting this in the Swiki swiki so that others can see how to do it? I know others would find this very useful.
Derrel
At 05:50 PM 9/20/2005 -0700, David Klosowski wrote:
Hi,
I'm running Comanche 6.2 / Swiki 1.4 and I've been trying to set up the
Swiki to start as a service on a Windows 2003 Server box. I can get
Squeak to run as a service using the following command line:
D:\Winterlong\ComSwiki\squeak -log: "D:\Winterlong\ComSwiki\log\log.txt"
-service: "Swiki" "D:\Winterlong\ComSwiki\squeak.image"
I've looked at a couple ways of getting the Swiki to actually start
running as soon as the service starts:
1) Have the ComSwiki launcher in the state where the server is started,
and then pressing "save & exit"
2) Creating a startUp message for the ComSwikiLauncher class:
startUp
ports _ 8888.
self startServer
I'm not sure if this approach was completely correct. I realize the
class needs to be added to the SystemDictionary, but ComSwikiLauncher
seems to already be added. It shows up when I do a
Smalltalk classNames.
Does anyone else have any suggestions? Thanks for any help!
Cheers,
Dave
_______________________________________________
Pws mailing list
[email protected]
https://mailman.cc.gatech.edu/mailman/listinfo/pws
_______________________________________________ Pws mailing list [email protected] https://mailman.cc.gatech.edu/mailman/listinfo/pws
