Create pid file before runtime init, Fixes #1990

pull/2003/head
Torkel Ödegaard 11 years ago
parent 1c9993f185
commit fb56bc59f2
  1. 6
      docker/rpmtest/Dockerfile
  2. 2
      main.go

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

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

Loading…
Cancel
Save