[Server-devel] Schools Wikipedia
Chris Ball
cjb at laptop.org
Sun Mar 28 21:55:37 EDT 2010
Hi,
> What's the best way to automate this, so it starts up when the XS
> is started without the need for people to enter the python server
> command line?
I think the quickest way is to run, as a user:
crontab -e
<a text file is presented, add the following line to it>
@reboot nohup python /home/someuser/Wikipedia.activity/server.py .. &
where .. is the set of arguments you usually pass to server.py.
The best way involves creating an RPM package that installs a service
using rc.d/init.d.
- Chris.
--
Chris Ball <cjb at laptop.org>
One Laptop Per Child
More information about the Server-devel
mailing list