Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F24061923
D3933.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3933.diff
View Options
diff --git a/PORTS b/PORTS
--- a/PORTS
+++ b/PORTS
@@ -10,6 +10,12 @@
8080 Free for temporary web servers, < 30 minutes
17000 NetBox
+viperserv
+ 18000 Eggdrop - Partyline - Humans - Dæghrefn
+ 18010 Eggdrop - Partyline - Humans - Wearg
+ 19000 Eggdrop - Partyline - Bots - Dæghrefn
+ 19010 Eggdrop - Partyline - Bots - Wearg
+
webserver-alkane
9253 php-fpm metrics
diff --git a/pillar/viperserv/bots.sls b/pillar/viperserv/bots.sls
--- a/pillar/viperserv/bots.sls
+++ b/pillar/viperserv/bots.sls
@@ -12,6 +12,9 @@
viperserv_bots:
Daeghrefn:
realname: https://daeghrefn.nasqueron.org
+ listen:
+ users: 18000
+ bots: 19000
scripts:
- Daeghrefn/Time.tcl
- Daeghrefn/Wolfplex.tcl
@@ -34,6 +37,9 @@
Wearg:
realname: RabbitMQ broker client
+ listen:
+ users: 18010
+ bots: 19010
scripts:
- Wearg/Broker.tcl
- Wearg/Notifications.tcl
diff --git a/roles/viperserv/eggdrop/config.sls b/roles/viperserv/eggdrop/config.sls
--- a/roles/viperserv/eggdrop/config.sls
+++ b/roles/viperserv/eggdrop/config.sls
@@ -86,6 +86,7 @@
modules: {{ bot['modules'] | default([]) }}
runas: {{ bot['runas'] | default('viperserv') }}
nickserv: {{ bot['nickserv'] | default(False) }}
+ listen: {{ bot['listen'] | default(False) }}
/srv/viperserv/{{ botname }}/motd:
file.managed:
diff --git a/roles/viperserv/eggdrop/files/eggdrop-bot.conf b/roles/viperserv/eggdrop/files/eggdrop-bot.conf
--- a/roles/viperserv/eggdrop/files/eggdrop-bot.conf
+++ b/roles/viperserv/eggdrop/files/eggdrop-bot.conf
@@ -50,6 +50,11 @@
# Credentials for Vault (work in progress) and MySQL (deprecated)
source .credentials
+{% if listen -%}
+listen {{ listen.bots }} bots
+listen {{ listen.users }} users
+{%- endif %}
+
# -------------------------------------------------------------
# Vault
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 10, 04:05 (19 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3440406
Default Alt Text
D3933.diff (1 KB)
Attached To
Mode
D3933: Listen for eggdrop users and bots in separate ports
Attached
Detach File
Event Timeline
Log In to Comment