Put variable data in /run instead of /tmp

This commit is contained in:
Arthur Barr
2018-02-19 10:34:53 +00:00
parent b62a883d4c
commit e65d679a21
2 changed files with 6 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ import (
log "github.com/sirupsen/logrus"
)
const fileName string = "/tmp/runmqserverReady"
const fileName string = "/run/runmqserver/ready"
func fileExists() (bool, error) {
_, err := os.Stat(fileName)