Hi all,
I have write a script in /etc/rc.d/init.d so that Django can start
with my server.
It may look like
start () {
    echo -n $"Starting $prog: "
/usr/local/bin/python /home/admin/cc/manage.py runfcgi method=threaded
host=127.0.0.1 port=12345
}

Then I can see
ps aux|grep manage
root      2478  0.0  6.1  70700 22752 ?        Sl   07:09   0:00 /usr/
local/bin/python /home/admin/cc/manage.py runfcgi method=threaded
host=127.0.0.1 port=12345


Now I don't want to run django as user root,because I think it may
cause security problem.
what should I do?
Can you give me an example to run as user nobody(or someone whose
shell is /sbin/nologin )?

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=.


Reply via email to