lights FAQ Forum github.com/luapower/daemon
This package
daemon

Misc
ace.js
allegory.ro
csv
daemon
dollar
font_db
fonts-amiri
fonts-awesome
fonts-dejavuserif
fonts-fireflysung
fonts-fixedsys
fonts-ionicons
fonts-material-icons
fonts-noto-emoji
fonts-open-sans
http
jsmin
lx
minizip2
resty-core
resty-lrucache
resty.http
resty.mail
resty.string
socket2
uri
uuid
website
x-widgets
xlsxwriter

daemon

Daemon API


--[[

	Daemon API.
	Written by Cosmin Apreutesei. Public Domain.

	Logging:

		log()
		note()
		nolog()
		warnif()

	Error handling:

		check()

	Filesystem ops:

		exists()
		rm()
		mv()
		mkdir()
		load()
		save()
		cp()
		exec()
		touch()
		mtime()
		dir()

	Config:

		daemon(app_defaults) -> app

			Input:
				app_name
				app_env
				verbose
			Output:
				data_dir
				tmp_dir

	Autoincrement IDs:

		gen_id(name[, start]) -> n

]]

See the source code for more info.


Package:daemon
Pkg type:Lua
Version: f0e2a03
Last commit:
Author: Cosmin Apreutesei
License: Public Domain

Requires: none

Required by: none


Top