1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00

Remove PID file during shutdown

This commit is contained in:
James Hillyerd
2016-02-28 14:41:15 -08:00
parent 3f654e48be
commit 075aa0dd38
2 changed files with 9 additions and 4 deletions

View File

@@ -41,7 +41,6 @@ func Initialize(cfg config.WebConfig, ds smtpd.DataStore) {
// NewContext() will use this DataStore for the web handlers
DataStore = ds
// TODO Make configurable
if cfg.CookieAuthKey == "" {
log.Infof("HTTP generating random cookie.auth.key")
sessionStore = sessions.NewCookieStore(securecookie.GenerateRandomKey(64))