ulogd doesn't work as I want it to, because the sqlite plugin
is still missing. For debugging purposes, we use a emulation for
syslog and store this in a plain text file.
bind=1
[emu1]
-file="/var/log/ulogd_syslogemu.log"
+file="/var/log/ulogd/syslogemu.log"
sync=1
[pcap1]
DEBUG = no
DEPS = sqlite
+INITSCRIPT = ulogd
###############################################################################
# Top-level Rules
cd $(DIR_APP) && make install
cp -vf $(DIR_CONFIG)/$(PKG_NAME)/ulogd.conf /etc/ulogd.conf
+ $(INSTALL_INITSCRIPT)
+
-mkdir -pv /var/log/ulogd
rm -vf /var/log/ulogd/ulogd.db
sqlite3 -echo /var/log/ulogd/ulogd.db < $(DIR_CONFIG)/$(PKG_NAME)/sqlite3.table
--- /dev/null
+description "A userspace logging daemon"
+author "IPFire Team"
+
+start on started firewall
+stop on stopping firewall
+
+exec /usr/sbin/ulogd -c /etc/ulogd.conf
+respawn