diff options
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | run-server.sh | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,7 @@ LUA_VERSION := 5.2 confdir := etc/aconf luadir := usr/share/lua/$(LUA_VERSION)/aconf resdir := usr/share/aconf +augdir := $(resdir)/augeas webdir := $(resdir)/web starter := usr/sbin/aconfd @@ -43,6 +44,8 @@ endef $(eval $(call link,aconf,$(luadir))) $(eval $(call rcopy,aconf,$(luadir),lua,-not -path 'aconf/modules/demo-*')) +$(eval $(call rcopy,augeas,$(augdir),aug)) + $(eval $(call link,config,$(confdir))) $(eval $(call copy,config,$(confdir),audit.json,600)) $(eval $(call copy,config,$(confdir),auth.json,600)) diff --git a/run-server.sh b/run-server.sh index 0e127fa..ad67263 100755 --- a/run-server.sh +++ b/run-server.sh @@ -3,6 +3,8 @@ # Copyright (c) 2012-2014 Kaarle Ritvanen # See LICENSE file for license details +export AUGEAS_LENS_LIB=augeas + if [ $(basename $0) = run-server.sh ]; then export LUA_PATH="./?.lua;./?/init.lua;;" PORT=${1:-8000} |