]> git.parisson.com Git - telecaster-server.git/commitdiff
update install
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 22 Jul 2013 16:58:05 +0000 (18:58 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 22 Jul 2013 16:58:05 +0000 (18:58 +0200)
tcserver/install.py

index d517e2d4a271e2ca044fe1305091fd41d4bda512..b31eaafe639947a516db4eaee456c429ffbcd94b 100644 (file)
@@ -141,6 +141,9 @@ class Install(object):
         os.system('chmod 777 ' + self.rss_dir)
         os.system('chmod 666 ' + self.rss_dir + '/*')
 
+        os.system('chmod 775 ' + self.log_dir)
+        os.system('sudo adduser www-data telecaster')
+        
     def run(self):
         if self.options['keepinit'] == False:
             print 'Installing init files...'