diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-01-21 23:22:42 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-01-21 23:22:42 -0400 |
| commit | a37e0a6bc3816bb85f1ebca7e0fd7a9bb2349b3a (patch) | |
| tree | d78eb65584149b8f4a266aa03ae666b5a78683ec /src | |
| parent | fa66cb49d668ca065324530ced05b72de0499e34 (diff) | |
propellor spin
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/Systemd/Journald.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Systemd/Journald.hs b/src/Propellor/Property/Systemd/Journald.hs index e852ebd9..978cd54d 100644 --- a/src/Propellor/Property/Systemd/Journald.hs +++ b/src/Propellor/Property/Systemd/Journald.hs @@ -1,7 +1,6 @@ module Propellor.Property.Systemd.Journald where import Propellor import qualified Propellor.Property.Systemd as Systemd -import qualified Propellor.Property.File as File import Utility.DataUnits -- | Configures journald, restarting it so the changes take effect. @@ -39,7 +38,7 @@ runtimeMaxFileSize = configuredSize "RuntimeMaxFileSize" -- Generates size units as used in journald.conf. systemdSizeUnits :: Integer -> String -systemdSizeUnits n = filter (/= ' ') (roughSize cfgfileunits True n) +systemdSizeUnits sz = filter (/= ' ') (roughSize cfgfileunits True sz) where cfgfileunits :: [Unit] cfgfileunits = |
