commit 8e27ee853369a3e4606b469d4ac97e67957d4442
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2016-10-26T07:29:08Z |
| subject | typo |
commit 8e27ee853369a3e4606b469d4ac97e67957d4442
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2016-10-26T07:29:08Z
typo
---
botan-start.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/botan-start.py b/botan-start.py
index 81708f3..e36bf7b 100755
--- a/botan-start.py
+++ b/botan-start.py
@@ -11,7 +11,7 @@ SiteRoot = os.path.abspath( "." )
config["Paths"]["SiteRoot"] = SiteRoot;
# Create the lock folder for celery
-lockDir = os.path.join( SiteRoot, "env", "var", "run" "celery" )
+lockDir = os.path.join( SiteRoot, "env", "var", "run", "celery" )
os.makedirs( lockDir, exist_ok=True )
@@ -31,7 +31,7 @@ if __name__ == "__main__":
[
"celery", "multi", "restart", nodeName
, "-A", jwork, "worker"
- , "--pidfile=" + lockDir + jwork + ".pid"
+ , "--pidfile=" + os.path.join( lockDir, jwork + ".pid" )
, "--logfile=" + os.path.join( config["Paths"]["Log"], jwork + ".log" )
, "--workdir=" + config["Paths"]["Runtime"]
, "beat", "-l", "info"