~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to setup/configure.py

  • Committer: dcoles
  • Date: 2008-07-10 07:23:01 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:847
Login: Give some smarter feedback from the userservice if the TOS fails. A 
retry button might be nice too...

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
# In the local file system, where is the Message of the Day document
120
120
# located. This is an HTML file (just the body fragment), which will
121
121
# be displayed on the login page. It is optional."""))
122
 
config_options.append(ConfigOption("log_path",
123
 
    "/home/informatics/logs",
124
 
    """Directory where IVLE log files are stored (on the local
125
 
    file system). Note - this must be writable by the user the IVLE server 
126
 
    process runs as (usually www-data).:""",
127
 
    """
128
 
# In the local file system, where IVLE error logs should be located."""))
129
122
config_options.append(ConfigOption("public_host", "public.localhost",
130
123
    """Hostname which will cause the server to go into "public mode",
131
124
providing login-free access to student's published work:""",
219
212
    """
220
213
# The location of the subversion configuration file used by
221
214
# apache to host the user repositories."""))
222
 
config_options.append(ConfigOption("svn_group_conf",
223
 
    "/opt/ivle/svn/svn-group.conf",
224
 
    """The location of the subversion configuration file used by apache
225
 
to host group repositories:""",
226
 
    """
227
 
# The location of the subversion configuration file used by
228
 
# apache to host the user repositories."""))
229
215
config_options.append(ConfigOption("svn_repo_path", "/home/informatics/repositories",
230
216
    """The root directory for the subversion repositories:""",
231
217
    """
427
413
 
428
414
# The hostname for serving publicly accessible pages
429
415
public_host = %s
430
 
 
431
 
# The URL under which the Subversion repositories are located.
432
 
svn_addr = %s
433
 
""" % (repr(root_dir),repr(public_host),repr(svn_addr)))
 
416
""" % (repr(root_dir),repr(public_host)))
434
417
 
435
418
        conf.close()
436
419
    except IOError, (errno, strerror):
540
523
DESC="IVLE user management server"
541
524
NAME=usrmgt-server
542
525
DAEMON=/opt/ivle/scripts/$NAME
 
526
DAEMON_ARGS="''' + str(usrmgt_port) + ''' ''' + usrmgt_magic + '''"
543
527
PIDFILE=/var/run/$NAME.pid
544
528
SCRIPTNAME=/etc/init.d/usrmgt-server
545
529
 
564
548
        #   2 if daemon could not be started
565
549
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
566
550
                || return 1
567
 
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
 
551
        start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
 
552
                $DAEMON_ARGS \
568
553
                || return 2
569
554
        # Add code here, if necessary, that waits for the process to be ready
570
555
        # to handle requests from services started subsequently which depend