Merge branch 'master' of github.com:janvidar/uhub
This commit is contained in:
commit
f645811f37
13
doc/init.d.RedHat/etc/logrotator.d/uhub
Normal file
13
doc/init.d.RedHat/etc/logrotator.d/uhub
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Log rotate for Uhub
|
||||||
|
# see man logrotate
|
||||||
|
#
|
||||||
|
#
|
||||||
|
/var/log/uhub.log {
|
||||||
|
compress
|
||||||
|
size 10M
|
||||||
|
rotate 10
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
|
||||||
|
|
||||||
|
}
|
5
doc/rules.txt
Normal file
5
doc/rules.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
1. rule #1
|
||||||
|
2. rule #2
|
||||||
|
3. rule #3
|
||||||
|
......
|
||||||
|
34. Rule #34
|
@ -39,6 +39,11 @@ file_acl=/etc/uhub/users.conf
|
|||||||
# Normally this message is sent to clients when connecting.
|
# Normally this message is sent to clients when connecting.
|
||||||
file_motd=/etc/uhub/motd.txt
|
file_motd=/etc/uhub/motd.txt
|
||||||
|
|
||||||
|
# This file can contain a rules of the hub.
|
||||||
|
# Normally this message is sent to clients when write in chat !rules
|
||||||
|
file_rules=/etc/uhub/rules.txt
|
||||||
|
|
||||||
|
|
||||||
# Slots\share\hubs limits
|
# Slots\share\hubs limits
|
||||||
limit_max_hubs_user = 0
|
limit_max_hubs_user = 0
|
||||||
limit_max_hubs_reg = 0
|
limit_max_hubs_reg = 0
|
||||||
|
@ -124,3 +124,4 @@ void timeout_queue_reschedule(struct timeout_queue* t, struct timeout_evt* evt,
|
|||||||
timeout_queue_remove(t, evt);
|
timeout_queue_remove(t, evt);
|
||||||
timeout_queue_insert(t, evt, seconds);
|
timeout_queue_insert(t, evt, seconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user