Create pid file before runtime init, Fixes #1990

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

View File

@ -1,6 +0,0 @@
FROM centos:latest
RUN yum install -y initscripts
ADD *.rpm /tmp/

View File

@ -49,8 +49,8 @@ func main() {
flag.Parse()
initRuntime()
writePIDFile()
initRuntime()
search.Init()
social.NewOAuthService()