3 export GPX_PROGRAM="<%= @gpx_directory %>/src/gpx-import"
 
   5 export GPX_SLEEP_TIME="40"
 
   7 export GPX_PATH_TRACES="/store/rails/gpx/traces"
 
   8 export GPX_PATH_IMAGES="/store/rails/gpx/images"
 
   9 export GPX_PATH_TEMPLATES="<%= @gpx_directory %>/templates/"
 
  11 export GPX_PGSQL_HOST="<%= @database_host %>"
 
  12 export GPX_PGSQL_USER="<%= @database_username %>"
 
  13 export GPX_PGSQL_PASS="<%= @database_password %>"
 
  14 export GPX_PGSQL_DB="<%= @database_name %>"
 
  16 export GPX_LOG_FILE="<%= @log_directory %>/gpx-import.log"
 
  17 export GPX_PID_FILE="<%= @pid_directory %>/gpx-import.pid"
 
  19 export GPX_MAIL_SENDER="bounces@openstreetmap.org"
 
  22   start-stop-daemon --start --chuid rails --exec $GPX_PROGRAM
 
  26   start-stop-daemon --stop --retry 300 --pidfile $GPX_PID_FILE --exec $GPX_PROGRAM
 
  30   start-stop-daemon --stop --signal HUP --pidfile $GPX_PID_FILE --exec $GPX_PROGRAM