I have a personal copy of MoinMoin installed locally on my laptop running Ubuntu 10.04. I usually run the standalone server by changing to the dir where the moin.py resides and executing:
./moin.py server standalone
from the shell (bash). Now I would like to write a small script runmoin.sh. I have tried by
./moin.py server standalone > /dev/null 2>&1 &
Interestingly, this works if I do
directly in that dir. However, if I create a link to this script (in /bin) and start if from anywhere,
I get this error message (I think from MoinMoin)
data_dir "data" does not exist, or has incorrect ownership or
Make sure the directory and the subdirectory "pages" are owned by the web
server and are readable, writable and executable by the web server user
It is recommended to use absolute paths and not relative paths. Check
also the spelling of the directory name.
I don't have a clue how to fix this? Any suggestions or other options?
How would I automatically start the MoinMoin standalone directly after login?
Any help is greatly appreciated!