summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Uwsgi.hs
diff options
context:
space:
mode:
authorFélix Sipma2016-03-24 19:33:47 +0100
committerFélix Sipma2016-03-24 19:33:47 +0100
commit815a8192189129aff641e49edec643575b7656c3 (patch)
treeaca344d83a3f1694a2ac6c6c86ea9e6e479c7e0d /src/Propellor/Property/Uwsgi.hs
parent20cc6f7378ace91306fb21283b48d186b6c9f9af (diff)
Uwsgi: add ".ini" extension to app config files
files without extensions were ignored by uwsgi
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 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"]