Description
If you start your standalone server with the "--pidfile" parameter; you would like eg. to save your pid file to some subdirectory. But the pid file get's saved always in the currently "working" dir...
Steps to reproduce
Install the MoinMoin Version 1.7.0 (maybe with some --prefix=$HOME )
- do some config on files like wikiserverconfig, farmconfig, etc... (in your local wiki instance)
- cd to your home dir (/home/beteigeuze)
starting with the following parameter: moin server standalone --start --pid=/home/beteigeuze/webapps/moinmoin/config/moin.pid
moinmoin is working correctly; but the pid file is saved in /home/beteigeuze/moin.pid and not in the wanted subdir
Example
Component selection
- moin.py or standalone.py
Details
MoinMoin Version |
1.7.0 |
OS and Version |
Linux |
Python Version |
Python 2.5 |
Server Setup |
Standalone "Daemon Mode" |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
DE |
Workaround
- make some cd before; my startscript looks now like:
echo "MoinMoin starting..." cd /home/beteigeuze/webapps/moinmoin/config/ moin server standalone --start --pid=/home/beteigeuze/webapps/moinmoin/config/moin.pid
Discussion
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/441a4136db05