From 6614075947978f424c1cd5c987e91958f778b803 Mon Sep 17 00:00:00 2001 From: Emilie Date: Wed, 21 Dec 2016 11:23:49 +0100 Subject: [PATCH] repair script path in install.py --- bin/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install.py b/bin/install.py index b7eecbf5..86a9c046 100755 --- a/bin/install.py +++ b/bin/install.py @@ -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/"+self.name+" && ./scripts/push.sh >> /var/log/"+ self.name +"/"+self.name+"-push.log 2>&1 \n" + command = "cd /srv/"+self.name+" && ./bin/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) -- 2.39.5