mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-11-15 01:24:03 +00:00
23 lines
673 B
Lua
23 lines
673 B
Lua
--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
-- lsyncd.lua Live (Mirror) Syncing Demon
|
|
--
|
|
-- Wraps up globals of the mantle to set up the Lua
|
|
-- space for user scripts.
|
|
-- This must come as last mantle file.
|
|
--
|
|
-- License: GPLv2 (see COPYING) or any later version
|
|
-- Authors: Axel Kittenberger <axkibe@gmail.com>
|
|
--
|
|
--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
if mantle
|
|
then
|
|
lsyncd.log( 'Error', 'Lsyncd mantle already loaded' )
|
|
lsyncd.terminate( -1 )
|
|
end
|
|
|
|
-- Lets the core double check version identity with the mantle
|
|
mantle = '3.0.0-devel'
|
|
|
|
core = nil
|