From e32f1573741bcbbe93a7e801cecdea560b64c713 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 10 Feb 2015 21:04:32 -0400 Subject: [PATCH] Fix Git.daemonRunning to restart inetd after enabling the git server. --- debian/changelog | 1 + src/Propellor/Property/Git.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6bac189..ff1cdf1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ propellor (2.1.0) UNRELEASED; urgency=medium and naming bridges, relays, etc. * New Cron.Times data type, which allows Cron.job to install daily/monthly/weekly jobs that anacron can run. (API change) + * Fix Git.daemonRunning to restart inetd after enabling the git server. -- Joey Hess Thu, 29 Jan 2015 01:41:07 -0400 diff --git a/src/Propellor/Property/Git.hs b/src/Propellor/Property/Git.hs index c363d8c..91f1e3e 100644 --- a/src/Propellor/Property/Git.hs +++ b/src/Propellor/Property/Git.hs @@ -23,7 +23,7 @@ daemonRunning exportdir = setup unsetup `requires` Apt.serviceInstalledRunning "openbsd-inetd" `onChange` - Service.running "openbsd-inetd" + Service.reloaded "openbsd-inetd" `describe` ("git-daemon exporting " ++ exportdir) unsetup = lacksLine conf (mkl "tcp4") `requires`