summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Uwsgi.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property/Uwsgi.hs')
-rw-r--r--src/Propellor/Property/Uwsgi.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Propellor/Property/Uwsgi.hs b/src/Propellor/Property/Uwsgi.hs
index 8beea17a..c6ae880b 100644
--- a/src/Propellor/Property/Uwsgi.hs
+++ b/src/Propellor/Property/Uwsgi.hs
@@ -22,8 +22,7 @@ appEnabled an cf = enable <!> disable
`onChange` reloaded
where
test = not <$> doesFileExist (appVal an)
- prop = property "uwsgi app in place" $ makeChange $
- createSymbolicLink target dir
+ prop = dir `File.isSymlinkedTo` target
target = appValRelativeCfg an
dir = appVal an
disable = trivial $ File.notPresent (appVal an)