Fix Git.daemonRunning to restart inetd after enabling the git server.

This commit is contained in:
Joey Hess 2015-02-10 21:04:32 -04:00
parent 8d73419dbe
commit e32f157374
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -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 <id@joeyh.name> Thu, 29 Jan 2015 01:41:07 -0400

View File

@ -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`