CurryInfo: cpns-3.0.0 / Network.CPNSD.stopServer

definition:
stopServer :: IO ()
stopServer = do
  lockfile <- getStartupLockFile
  system $ "/bin/rm -f " ++ lockfile -- just to be sure
  -- test whether the server process is still alive:
  alive <- cpnsAlive "localhost"
  if alive then cpnsStop
           else putErrLn "CPNS demon does not seem to be alive"
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Terminate the Curry Port Name Server demon, if it is not already terminated.
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> _}
name:
stopServer
precedence:
no precedence defined
result-values:
_
signature:
Prelude.IO ()
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term