summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Uwsgi.hs
diff options
context:
space:
mode:
authorJoey Hess2016-03-28 05:52:46 -0400
committerJoey Hess2016-03-28 05:52:46 -0400
commitb1d1a85038a0a7193c8db8b8e27ac404309741dd (patch)
tree66b6890d852c19daec2306920fecf9108e055273 /src/Propellor/Property/Uwsgi.hs
parent1bd062c5336db6aff3b6128f7821f8ebed6b6ca0 (diff)
parentebf30061d8f8a251330070e69c2710fe4a8fd9da (diff)
Merge branch 'master' into typed-os-requirements
Diffstat (limited to 'src/Propellor/Property/Uwsgi.hs')
-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 491c77d1..4eb94103 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 DebianLike
installed = Apt.installed ["uwsgi"]