diff options
Diffstat (limited to 'src/Propellor/Property/Nginx.hs')
| -rw-r--r-- | src/Propellor/Property/Nginx.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Nginx.hs b/src/Propellor/Property/Nginx.hs index d0d4d3a9..1bd285c7 100644 --- a/src/Propellor/Property/Nginx.hs +++ b/src/Propellor/Property/Nginx.hs @@ -20,8 +20,7 @@ siteEnabled hn cf = enable <!> disable `onChange` reloaded where test = not <$> doesFileExist (siteVal hn) - prop = property "nginx site in place" $ makeChange $ - createSymbolicLink target dir + prop = dir `File.isSymlinkedTo` target target = siteValRelativeCfg hn dir = siteVal hn disable = trivial $ File.notPresent (siteVal hn) |
