]> git.parisson.com Git - mezzo.git/commitdiff
Deleting ircam ref
authorEmilie <zawadzki@ircam.fr>
Fri, 25 Nov 2016 18:06:04 +0000 (19:06 +0100)
committerEmilie <zawadzki@ircam.fr>
Fri, 25 Nov 2016 18:06:04 +0000 (19:06 +0100)
install.py

index 5955a4bd0e811e73a521386dfe89f513e6fa17c8..b7eecbf5b787058c0d6745096db603665b2aaac6 100755 (executable)
@@ -163,7 +163,7 @@ class DockerCompositionInstaller(object):
             os.makedirs(log_path, 0o755)
             os.chown(log_path, getpwnam(self.user).pw_uid, getgrnam(self.user).gr_gid)
         path = "PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin\n"
-        command = "cd /srv/ircam-www && ./scripts/push.sh >> /var/log/"+ self.name +"/ircam-www-push.log 2>&1 \n"
+        command = "cd /srv/"+self.name+" && ./scripts/push.sh >> /var/log/"+ self.name +"/"+self.name+"-push.log 2>&1 \n"
         rule = self.cron_rule % (self.user, command)
         f = open('/etc/cron.d/' + self.name, 'w')
         f.write(path + rule)