]> gitweb.michael.orlitzky.com - dead/htsn.git/blobdiff - src/Configuration.hs
Change the default pidfile location.
[dead/htsn.git] / src / Configuration.hs
index 68751d6015784242e7ecdb89fcf2ee568ef383da..10e01bcb01c37e62fd9e54edaf6907cef896363d 100644 (file)
@@ -15,6 +15,8 @@ import qualified OptionalConfiguration as OC (
   merge_maybes )
 import TSN.FeedHosts (FeedHosts(..))
 
+-- | The main configuration data type. This will be passed to most of
+--   the important functions once it has been created.
 data Configuration =
   Configuration {
     daemonize        :: Bool,
@@ -40,7 +42,7 @@ instance Default Configuration where
           log_level        = INFO,
           output_directory = ".",
           password         = def,
-          pidfile          = "/run/htsn.pid",
+          pidfile          = "/run/htsn/htsn.pid",
           run_as_group     = def,
           run_as_user      = def,
           syslog           = def,