diff --git a/superseriousstats/README.md b/superseriousstats/README.md new file mode 100644 index 0000000..5371f49 --- /dev/null +++ b/superseriousstats/README.md @@ -0,0 +1 @@ +Thank you: https://sss.dutnie.nl/ diff --git a/superseriousstats/configs/libertacasa/libcasa.conf b/superseriousstats/configs/libertacasa/libcasa.conf new file mode 100644 index 0000000..8e081d4 --- /dev/null +++ b/superseriousstats/configs/libertacasa/libcasa.conf @@ -0,0 +1,31 @@ +# configuration file for superseriousstats + +### REQUIRED SETTINGS ### + +# name of the irc channel +# example: "#my_channel" +channel = "#libcasa" + +# name of the logfile parser (see parsers directory) +# example: "parser_eggdrop" +parser = "parser_supybot" + +# timezone the logs are in (see online ''tz database'') +# example: "Europe/Berlin" +timezone = "Europe/Berlin" + +# (path to) the sqlite database for this channel +# example: "/var/www/databases/my_channel.db" +database = "/opt/superseriousstats/databases/libertacasa/libcasa.db" + +### OPTIONAL SETTINGS (default values are shown below) ### + +#auto_link_nicks = "true" # link nicks like Guest33 to Guest +#stylesheet = "sss.css" # change if you have a custom css +#link_history_php = "true" # create links to history.php on the main page +link_user_php = "true" # create links to user.php on the main/history pages +#main_page = "./" # be specific if httpd doesn't know of index file +#userpics_dir = "userpics" # directory to put user pics in +#userpics_default = "" # default pic if none found for user +#show_banner = "true" # put the sss logo at the top +#favicon = "favicon.svg" # include a link to this favicon on all pages diff --git a/superseriousstats/configs/libertacasa/libcasa.info.conf b/superseriousstats/configs/libertacasa/libcasa.info.conf new file mode 100644 index 0000000..da414a8 --- /dev/null +++ b/superseriousstats/configs/libertacasa/libcasa.info.conf @@ -0,0 +1,31 @@ +# configuration file for superseriousstats + +### REQUIRED SETTINGS ### + +# name of the irc channel +# example: "#my_channel" +channel = "#libcasa.info" + +# name of the logfile parser (see parsers directory) +# example: "parser_eggdrop" +parser = "parser_supybot" + +# timezone the logs are in (see online ''tz database'') +# example: "Europe/Berlin" +timezone = "Europe/Berlin" + +# (path to) the sqlite database for this channel +# example: "/var/www/databases/my_channel.db" +database = "/opt/superseriousstats/databases/libertacasa/libcasa.info.db" + +### OPTIONAL SETTINGS (default values are shown below) ### + +#auto_link_nicks = "true" # link nicks like Guest33 to Guest +#stylesheet = "sss.css" # change if you have a custom css +#link_history_php = "true" # create links to history.php on the main page +#link_user_php = "true" # create links to user.php on the main/history pages +#main_page = "./" # be specific if httpd doesn't know of index file +#userpics_dir = "userpics" # directory to put user pics in +#userpics_default = "" # default pic if none found for user +#show_banner = "true" # put the sss logo at the top +#favicon = "favicon.svg" # include a link to this favicon on all pages diff --git a/superseriousstats/crontab b/superseriousstats/crontab new file mode 100644 index 0000000..d07fb10 --- /dev/null +++ b/superseriousstats/crontab @@ -0,0 +1,2 @@ +@hourly /usr/bin/php /opt/superseriousstats/superseriousstats/sss.php -v -c /opt/superseriousstats/configs/libertacasa/libcasa.conf -i /opt/limnoria/katyusha/logs/ChannelLogger/libcasa/\#libcasa/ -o /srv/www/superseriousstats/libertacasa/libcasa/index.html | nc -N 127.0.0.2 2424 +@hourly /usr/bin/php /opt/superseriousstats/superseriousstats/sss.php -v -c /opt/superseriousstats/configs/libertacasa/libcasa.info.conf -i /opt/limnoria/katyusha/logs/ChannelLogger/libcasa/\#libcasa.info/ -o /srv/www/superseriousstats/libertacasa/libcasa.info/index.html | nc -N 127.0.0.2 2424 diff --git a/superseriousstats/www/README.md b/superseriousstats/www/README.md new file mode 100644 index 0000000..bb1e6a9 --- /dev/null +++ b/superseriousstats/www/README.md @@ -0,0 +1,5 @@ +LibertaCasa specific instructions: +Adjust +`private static string $database = '/opt/superseriousstats/databases//.db';` +respectively in +`/srv/www/superseriousstats///web.php`