diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-11-24 09:58:45 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-11-24 09:58:45 -0400 |
| commit | 776c11f6a9187da03324b879e744a8f07b480a09 (patch) | |
| tree | 5d9fb0ecec63e847e8984c3f11c8c363a9e7c229 /src | |
| parent | 03bb424d18651e5e6225590a752b7267e6eed6b5 (diff) | |
fixes
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/SiteSpecific/JoeySites.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index f428d382..d22eb615 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -6,6 +6,7 @@ module Propellor.Property.SiteSpecific.JoeySites where import Propellor.Base import qualified Propellor.Property.Apt as Apt import qualified Propellor.Property.File as File +import qualified Propellor.Property.ConfFile as ConfFile import qualified Propellor.Property.Gpg as Gpg import qualified Propellor.Property.Ssh as Ssh import qualified Propellor.Property.Git as Git @@ -961,11 +962,11 @@ alarmClock oncalendar (User user) command = combineProperties , "" , "[Service]" , "Type=oneshot" - , "ExecStart=/bin/systemd-inhibit --what=handle-lid-switch --why=goodmorning /bin/su " ++ user ++ " -c \"" ++ program ++ "\"" + , "ExecStart=/bin/systemd-inhibit --what=handle-lid-switch --why=goodmorning /bin/su " ++ user ++ " -c \"" ++ command ++ "\"" ] `onChange` Systemd.daemonReloaded , Systemd.enabled "goodmorning.timer" , Systemd.started "goodmorning.timer" - , "/etc/systemd/logind.conf" `File.containsConfPair` + , "/etc/systemd/logind.conf" `ConfFile.containsIniSetting` ("Login", "LidSwitchIgnoreInhibited", "no") ] |
