Commit e773a018 authored by Klaus Aehlig's avatar Klaus Aehlig

Provide path to the queue drain file

Since luxid is going to write to the job queue,
it needs to honor drains of the queue as well.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent d9d1e541
......@@ -36,6 +36,7 @@ module Ganeti.Path
, queueDir
, jobQueueSerialFile
, jobQueueLockFile
, jobQueueDrainFile
, jobQueueArchiveSubDir
, instanceReasonDir
, getInstReasonFilename
......@@ -115,6 +116,10 @@ jobQueueSerialFile = queueDir `pjoin` "serial"
jobQueueLockFile :: IO FilePath
jobQueueLockFile = queueDir `pjoin` "lock"
-- | Job queue drain file
jobQueueDrainFile :: IO FilePath
jobQueueDrainFile = queueDir `pjoin` "drain"
-- | Job queue archive directory.
jobQueueArchiveSubDir :: FilePath
jobQueueArchiveSubDir = "archive"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment