The supybot tmp directory needs to be inside the data directory
authorTom Hughes <tom@compton.nu>
Thu, 4 Jul 2013 10:21:23 +0000 (11:21 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 4 Jul 2013 10:21:23 +0000 (11:21 +0100)
cookbooks/supybot/recipes/default.rb
cookbooks/supybot/templates/default/supybot.conf.erb

index 7dd59bf..20385c7 100644 (file)
@@ -96,12 +96,6 @@ directory "/var/lib/supybot/git" do
   mode 0755
 end
 
-directory "/var/tmp/supybot" do
-  owner "supybot"
-  group "supybot"
-  mode 0755
-end
-
 directory "/var/log/supybot" do
   owner "supybot"
   group "supybot"
index 7bb524e..a6bee56 100644 (file)
@@ -635,7 +635,7 @@ supybot.directories.data: /var/lib/supybot/data
 #
 # Default value: tmp
 ###
-supybot.directories.data.tmp: /var/tmp/supybot
+supybot.directories.data.tmp: /var/lib/supybot/data/tmp
 
 ###
 # Determines what directory backup data is put into.