From 6a19623f23ee01a5c93b7d523681354a3dbf821c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 29 Nov 2008 01:00:04 +0000 Subject: [PATCH 1/1] main.lua -> prosody --- main.lua => prosody | 15 +++++++++++++++ 1 file changed, 15 insertions(+) rename main.lua => prosody (92%) diff --git a/main.lua b/prosody similarity index 92% rename from main.lua rename to prosody index 7e41012c..6f13decd 100644 --- a/main.lua +++ b/prosody @@ -1,5 +1,20 @@ +#!/usr/bin/env lua + +-- Config here -- + + + +-- -- -- -- -- -- + +if CFG_SOURCEDIR then + package.path = CFG_SOURCEDIR.."/?.lua;"..package.path + package.cpath = CFG_SOURCEDIR.."/?.lua;"..package.cpath +end + +-- Required to be able to find packages installed with luarocks pcall(require, "luarocks.require") + config = require "core.configmanager" log = require "util.logger".init("general"); -- 2.30.2