SuperSeriousStats Commit 06/08/2021

Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
Georg Pfuetzenreuter 2021-08-06 17:52:16 +02:00
parent 8ac54183cc
commit 57819c03f7
Signed by: Georg
GPG Key ID: 1DAF57F49F8E8F22
5 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1 @@
Thank you: https://sss.dutnie.nl/

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -0,0 +1,5 @@
LibertaCasa specific instructions:
Adjust
`private static string $database = '/opt/superseriousstats/databases/<network>/<channel>.db';`
respectively in
`/srv/www/superseriousstats/<network>/<channel>/web.php`