i have found this script in the web:
==== /etc/init/web2py-scheluder.conf ====
description "web2py task scheduler"
start on (local-filesystems and net-device-up IFACE=eth0)
stop on shutdown
respawn
exec sudo -u www-data python /home/www-data/web2py/web2py.py -K myapp
==========================================
Is this the best way in ubuntu ?
Is necessary some aditional parameters to respawn ?
--
Yoel Benítez Fonseca
Tel: 573400
--
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.