SuperSeriousStats Commit 06/08/2021
Signed-off-by: Georg <georg@lysergic.dev>
This commit is contained in:
parent
8ac54183cc
commit
57819c03f7
1
superseriousstats/README.md
Normal file
1
superseriousstats/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
Thank you: https://sss.dutnie.nl/
|
31
superseriousstats/configs/libertacasa/libcasa.conf
Normal file
31
superseriousstats/configs/libertacasa/libcasa.conf
Normal 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
|
31
superseriousstats/configs/libertacasa/libcasa.info.conf
Normal file
31
superseriousstats/configs/libertacasa/libcasa.info.conf
Normal 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
|
2
superseriousstats/crontab
Normal file
2
superseriousstats/crontab
Normal 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
|
5
superseriousstats/www/README.md
Normal file
5
superseriousstats/www/README.md
Normal 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`
|
Loading…
Reference in New Issue
Block a user