From c933306e6b7605a4faf75fb4f6a78eaef58873ff Mon Sep 17 00:00:00 2001
From: Andrew McMillan DAViCal and all the dependencies.
-sudo apt-key advanced --keyserver subkeys.pgp.net --recv-keys CCA377BD77494424B0DB674F8C90347F8F068012 +sudo apt-key advanced --keyserver subkeys.pgp.net --recv-keys F6E0FA5CF0307507BB23A512EAFCFEBF8FEB8EBF
Skip to the "Database Setup" part if you have done that already.
@@ -112,16 +112,9 @@ and which will be granted minimum privileges for the application. createuser --no-createdb --no-createrole davical_app -PostgreSQL 7.4 named things slightly differently, so you -should use something like:
- --createuser --no-createdb --no-adduser davical_app --
You may need to become the 'postgres' user to do this, in which case you will need to be the postgres user to create the database as well. -For example (for PostgreSQL 8.x):
+For example:su postgres -c createuser --no-createdb --no-createrole davical_app