diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2016-03-24 19:33:47 +0100 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2016-03-24 19:33:47 +0100 |
| commit | 815a8192189129aff641e49edec643575b7656c3 (patch) | |
| tree | aca344d83a3f1694a2ac6c6c86ea9e6e479c7e0d | |
| parent | 20cc6f7378ace91306fb21283b48d186b6c9f9af (diff) | |
Uwsgi: add ".ini" extension to app config files
files without extensions were ignored by uwsgi
| -rw-r--r-- | src/Propellor/Property/Uwsgi.hs | 6 |
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"] |
