]> git.decadent.org.uk Git - dak.git/blobdiff - setup/README
Keep track of when a package was last added to a suite
[dak.git] / setup / README
index d5481a764d9aa1c8cb9a7f09cfacf5e1a684a316..fb9298c23d8c0c047a80ec7e9fbfc54ca6ed3e35 100644 (file)
@@ -2,14 +2,14 @@ Initialising a dak database schema
 ==================================
 
 The following packages are needed for the database:
- * postgresql-9.1 postgresql-client-9.1 postgresql-9.1-debversion
+ * postgresql-9.4 postgresql-client-9.4 postgresql-9.4-debversion
 and the following packages for dak itself:
  * python-psycopg2 python-sqlalchemy python-apt gnupg dpkg-dev lintian
    binutils-multiarch python-yaml less python-ldap python-pyrss2gen python-rrdtool
    symlinks python-debian
 
 (the schema assumes at least postgresql 9.1; ftpmaster in Debian currently uses
-the squeeze postgresql 9.1 backport)
+the postgresql 9.4 version from Debian 8)
 
 The following roles are assumed to exist:
  * dak: database superuser: needs to be an actual user
@@ -20,8 +20,8 @@ The following roles are assumed to exist:
 For the purposes of this document, we'll be working in /srv/dak
 
 Set up the dak user:
-# sudo addgroup --system ftpmaster
-# sudo adduser --system dak --ingroup ftpmaster --shell /bin/bash
+# sudo addgroup ftpmaster
+# sudo adduser dak --disabled-login --ingroup ftpmaster --shell /bin/bash
 
 Create postgres roles and database:
 # sudo -u postgres psql