Giter VIP home page Giter VIP logo

zeus911 / luaservice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moteus/luaservice

0.0 0.0 0.0 191 KB

This project provides a framework for building Windows Service applications in Lua. A Windows Service is a special application that runs at system boot (or on demand) without an interactive user. One use case is to run Xavante automatically.This repository was converted from a CVS repository on luaforge.net on Jan. 20, 2010.If you are the maintainer, please fork and then email [email protected] and ask us to "reroot" it to you.(Or you can ask us to delete the repository.)

Home Page: http://luaforge.net/projects/luaservice

C 82.04% Lua 3.89% CSS 9.28% Perl 2.91% Batchfile 1.88%

luaservice's Introduction

LuaService
A framework for running a Lua script as a Windows Service.

This is the second alpha release of LuaService.

All the documentation is provided through Doxygen, and drawn from 
source code comments and the files in the dox folder which provide
some overview and background topics. For best readability, have
Doxygen build its document set and start browsing it by opening 
the file doc\html\index.html in your favorite browser.

A sample service implementation is found in the files init.lua 
and test.lua. Put those files together with LuaService.exe in
a folder somewhere on a local disk drive. Get a command prompt
in that folder and say LuaService -i to install the demo ticker 
service.

The following files are included in this release:

ReadMe.txt		This file.
LuaService.exe		The Lua Windows Service framework.
LuaService.chm		Documentation
Ticker			Folder with the Ticker sample
  init.lua		  Ticker service initialization file.
  test.lua		  Ticker service implementation.
Rot13
  init.lua		  Rot13 service initialization file.
  rot13svc.lua		  Rot13 service implementation.
  
Since the Ticker sample service's only visible effect is to call 
OutputDebugString(), you will need a tool like DebugView to see
it work.  Get DebugView from the Sysinternals group at Microsoft,
http://www.microsoft.com/technet/sysinternals/. While there, you
might want to look at ProcessExplorer and ProcessMonitor, both
of which have been valuable for debugging LuaService and other
Windows applications.

The Rot13 sample is more complete. Create the folder \tmp\rot
on the same drive that has \WINDOWS on it. Copy LuaService.exe,
lua5.1.dll, and lfs.dll into the Rot13 sample's folder, and 
say LuaService -i to install and start it. Now, any file copied
into \tmp\rot will be transformed through ROT13. (ROT13 is 
described by http://en.wikipedia.org/wiki/Rot13.) Run DebugView
and see a trace of its activity while it works.

This is an alpha release. Please do not install this on a 
production or mission critical system. It is believed to be 
functional and safe to run, but all the usual disclaimers 
apply. 

It has been tested on Windows XP SP2 with all the maintenance 
patches kept up to date. It might work on Windows 2000, but it is 
extremely unlikely to work at all on Windows NT, 95, 98, or Me. 

I have not tested LuaService on Vista. I am not aware of any 
specific issues with Vista, except that as a system application, 
it is likely to require Administrator access to run at all. I
would love to have feedback from Vista users.

Please visit the LuaService project pages at Luaforge:

	http://luaforge.net/projects/luaservice/
	http://luaservice.luaforge.net/

There you will find the full source code, bug trackers, and so
forth.

	Ross Berteig
	Cheshire Engineering Corp.
	650 Sierra Madre Villa Ave., Suite 201
	Pasadena, CA 91107
	+1.626.351.5493
	[email protected]
	www.cheshireeng.com

luaservice's People

Contributors

moteus avatar 1linux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.