more verbose
This commit is contained in:
parent
105867be58
commit
5520fbf0c4
|
@ -67,7 +67,8 @@ proc main() =
|
||||||
|
|
||||||
if getEnv("PID_FILE") != "":
|
if getEnv("PID_FILE") != "":
|
||||||
try:
|
try:
|
||||||
writeFile(getEnv("PID_FILE"), $getpid())
|
writeFile(getEnv("PID_FILE"), $getpid() & "\n")
|
||||||
|
echo "pid-file \"" & getEnv("PID_FILE") & "\" crated"
|
||||||
except:
|
except:
|
||||||
echo "Can't write pid file!"
|
echo "Can't write pid file!"
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
Loading…
Reference in a new issue