25 Sep
2003
25 Sep
'03
1:20 p.m.
Riccardo Gaggero wrote:
I did not use apt-get install zope. but i install zope from tar file root can not start zope and i MUST login normal user (i created user named zope) end run script:
/home/zope/Zope-2.6.2-linux2-x86/start
who send me a script /etc/init.d/zope (it must work as any script etc/int.d/, using root)
Here ya go: #! /bin/sh case "$1" in start) echo "Starting Zope" su "www-data" -c "/home/zope/Zope-2.6.2-linux2-x86/start" ;; stop) echo "Stopping Zope" su "www-data" -c "/home/zope/Zope-2.6.2-linux2-x86/stop" ;; *) esac make sure the www-data user exists ;-) Chris