kopia lustrzana https://github.com/hholzgra/maposmatic/
added template for daemon startup script
rodzic
37ccc94c60
commit
83b8aa0157
|
@ -0,0 +1,15 @@
|
|||
#! /bin/sh
|
||||
|
||||
_here=`dirname "$0"`
|
||||
_pydir=`cd "$_here"/.. && /bin/pwd`
|
||||
|
||||
PYTHONPATH="$PYTHONPATH:/path/to/ocitysmap:$_pydir"
|
||||
export PYTHONPATH
|
||||
|
||||
DJANGO_SETTINGS_MODULE="www.settings"
|
||||
export DJANGO_SETTINGS_MODULE
|
||||
|
||||
MAPOSMATIC_LOG_FILE="/tmp/maposmaticd.log"
|
||||
export MAPOSMATIC_LOG_FILE
|
||||
|
||||
exec "$_here"/maposmaticd
|
Ładowanie…
Reference in New Issue