summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2016-03-25 18:42:26 -0400
committerJoey Hess2016-03-25 18:42:26 -0400
commit1cb110102890da1771c9e3a661a02529e852fc51 (patch)
tree9d1d9d6792a666cd33c5f2163cfb2632c55e3d33 /src/Propellor
parentf019971de441c5530279b00a6ef4aad991cb3222 (diff)
parent815a8192189129aff641e49edec643575b7656c3 (diff)
Merge remote-tracking branch 'felix/uwsgi-ini'
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/Uwsgi.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Uwsgi.hs b/src/Propellor/Property/Uwsgi.hs
index 8b531c3f..f76d6a0f 100644
--- a/src/Propellor/Property/Uwsgi.hs
+++ b/src/Propellor/Property/Uwsgi.hs
@@ -31,13 +31,13 @@ appAvailable an cf = ("uwsgi app available " ++ an) ==>
comment = "# deployed with propellor, do not modify"
appCfg :: AppName -> FilePath
-appCfg an = "/etc/uwsgi/apps-available/" ++ an
+appCfg an = "/etc/uwsgi/apps-available" </> an <.> "ini"
appVal :: AppName -> FilePath
-appVal an = "/etc/uwsgi/apps-enabled/" ++ an
+appVal an = "/etc/uwsgi/apps-enabled/" </> an <.> "ini"
appValRelativeCfg :: AppName -> File.LinkTarget
-appValRelativeCfg an = File.LinkTarget $ "../apps-available/" ++ an
+appValRelativeCfg an = File.LinkTarget $ "../apps-available" </> an <.> "ini"
installed :: Property NoInfo
installed = Apt.installed ["uwsgi"]