Skip to content

Commit

Permalink
Forgot internal geoserver start
Browse files Browse the repository at this point in the history
  • Loading branch information
uniomni committed Jan 19, 2011
1 parent 86e6299 commit b544fe1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions installation/__geoserver_start__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Start Geoserver instance locally - internal script
Must be run as sudo
"""

import sys, os, commands
import platform
from install_geoserver import run_startup

s = commands.getoutput('whoami')
if s != 'root':
print
print 'Script must be run as root e.g. using: sudo python %s' % sys.argv[0]
import sys; sys.exit()

# Start geoserver
run_startup()



0 comments on commit b544fe1

Please sign in to comment.