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
+1 -1
View File
@@ -49,8 +49,8 @@ func main() {
flag.Parse()
initRuntime()
writePIDFile()
initRuntime()
search.Init()
social.NewOAuthService()