5 changed files with 102 additions and 62 deletions
-
8sympa/bin/apply_auth_remote_ssh.bash
-
4sympa/bin/import.bash
-
11sympa/doc/custom_cemea.md
-
114sympa/doc/install.md
-
17sympa/doc/migration.md
@ -1,12 +1,12 @@ |
|||
#!/usr/bin/env bash |
|||
|
|||
# changes in /etc/sympa/auth.conf |
|||
sed -i 's/.*host 192.168.1.254:389.*/ host 127.0.0.1:389 # remote connection through SSH/' /etc/sympa/auth.conf |
|||
sed -i 's/.*host 192.168.1.254:389.*/ host 127.0.0.1:3890 # remote connection through SSH/' /etc/sympa/auth.conf |
|||
|
|||
# start SSH port translation if needed |
|||
if ! ss -tln | grep -q 127.0.0.1:389; then |
|||
ssh -fN listes.artcode.re -L 389:192.168.1.254:389 |
|||
echo 'SSH port translation 389 is now active!' |
|||
if ! ss -tln | grep -q 127.0.0.1:3890; then |
|||
ssh -fN listes.artcode.re -L 3890:192.168.1.254:389 |
|||
echo 'SSH port translation 3890 is now active!' |
|||
systemctl restart wwsympa.socket |
|||
else |
|||
echo 'SSH already enabled!' |
|||
|
|||
@ -1,12 +1,19 @@ |
|||
CUSTOM CEMEA's styling |
|||
====================== |
|||
|
|||
# sed /usr/share/sympa/lib/Sympa/Config/Schema.pm |
|||
> Rq /usr/share/sympa/lib/Sympa/Config/Schema.pm !!!! FIXME: not useful anymore in latest sympa |
|||
|
|||
## /usr/share/sympa/lib/Sympa/WWW/Tools.pm |
|||
|
|||
* append_or_replace... # TODO: use append_or_replace! |
|||
|
|||
``` |
|||
default =>'#ad0c78', # '#005ab2' replaced by ZOURIT-COLOR-1 |
|||
default =>'#b15593', # '#004b94' replaced by ZOURIT-COLOR-2 |
|||
default =>'#1f2937', # '#0090e9', replaced by ZOURIT-COLOR-3 |
|||
default =>'#949ba7', # '#66aaff', replaced by ZOURIT-COLOR-4 |
|||
# systemctl restart wwsympa.socket |
|||
``` |
|||
then `systemctl restart wwsympa.socket` |
|||
|
|||
/usr/share/sympa/default/web_tt2/css.tt2 #line 1661 |
|||
.top-bar button:hover{ |
|||
|
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue