git annex webapp --force forces a restart of the daemon
Useful for testing..
This commit is contained in:
parent
c4830aaa6c
commit
cccdb44874
3 changed files with 13 additions and 6 deletions
|
@ -84,7 +84,7 @@ checkDaemon pidfile = do
|
|||
| otherwise = error $
|
||||
"stale pid in " ++ pidfile ++
|
||||
" (got " ++ show pid' ++
|
||||
"; expected" ++ show pid ++ " )"
|
||||
"; expected " ++ show pid ++ " )"
|
||||
|
||||
{- Stops the daemon, safely. -}
|
||||
stopDaemon :: FilePath -> IO ()
|
||||
|
|
|
@ -25,7 +25,6 @@ import Control.Exception
|
|||
import Crypto.Random
|
||||
import Data.Digest.Pure.SHA
|
||||
import qualified Data.ByteString.Lazy as L
|
||||
import Data.List
|
||||
import qualified Data.Text as T
|
||||
import qualified Data.Text.Encoding as TE
|
||||
import Blaze.ByteString.Builder.Char.Utf8 (fromText)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue