Add debian/sonews.install and modify sonews.conf.sample to place database in /var/news/sonews/.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/debian/sonews.install Mon Sep 12 22:43:40 2011 +0200
1.3 @@ -0,0 +1,3 @@
1.4 +helpers/sonews.conf.sample /etc/sonews/sonews.conf
1.5 +helpers/sonews /usr/bin/
1.6 +build/sonews*.jar /usr/share/java/
1.7 \ No newline at end of file
2.1 --- a/helpers/sonews.conf.sample Mon Sep 12 20:24:40 2011 +0200
2.2 +++ b/helpers/sonews.conf.sample Mon Sep 12 22:43:40 2011 +0200
2.3 @@ -1,4 +1,4 @@
2.4 -sonews.storage.database=jdbc:hsqldb:file:sonewsdb
2.5 +sonews.storage.database=jdbc:hsqldb:file:/var/news/sonews/sonewsdb
2.6 sonews.storage.user=SA
2.7 sonews.storage.dbmsdriver=org.hsqldb.jdbcDriver
2.8 sonews.storage.password=