Multiple instances support

Bug #906373 reported by Gediminas Paulauskas on 2011-12-19
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SchoolTool
High
Gediminas Paulauskas

Bug Description

An increasingly often requested feature, multiple schools on one server.

The scripts, make-schooltool-instance and start-schooltool-instance, need new options, defaults, and search locations, to support creating/running instances defined in /etc/schooltool, in addition to current directory.

For example,

  $ bin/make-schooltool-instance --prefix=/var --sysconfdir=/etc tuxville

would create an instance in /etc/schooltool/tuxville with database in /var/lib/schooltool/tuxville and logs in /var/log/schooltool/tuxville

Then,

  $ sudo start-schooltool-instance tuxville

Would start the tuxville instance from /etc/schooltool/tuxville, unless there is "tuxville" in current directory.

When installed in Ubuntu,

  $ sudo make-schooltool-instance tuxville

Will create instances in the aforementioned locations by default.

Changed in schooltool:
assignee: nobody → Gediminas Paulauskas (menesis)
importance: Undecided → High
status: New → Triaged
milestone: none → 2.1
Changed in schooltool:
milestone: 2.1.0 → next
Changed in schooltool:
milestone: next → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers