Create pid file before runtime init, Fixes #1990

This commit is contained in:
Torkel Ödegaard committed 2015-05-14 10:33:56 +02:00
1 parent 1c9993f185
commit fb56bc59f2
2 files changed
+1 -7

No files matched your search

-6
View File
@@ -1,6 +0,0 @@
FROM centos:latest
RUN yum install -y initscripts
ADD *.rpm /tmp/
+1 -1
View File
@@ -49,8 +49,8 @@ func main() {
flag.Parse()
initRuntime()
writePIDFile()
initRuntime()
search.Init()
social.NewOAuthService()