Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117492885
D3283.1774846721.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
846 B
Referenced Files
None
Subscribers
None
D3283.1774846721.diff
View Options
diff --git a/docker/kolab/utils/09-enable-debugging.sh b/docker/kolab/utils/09-enable-debugging.sh
--- a/docker/kolab/utils/09-enable-debugging.sh
+++ b/docker/kolab/utils/09-enable-debugging.sh
@@ -1,11 +1,18 @@
#!/bin/bash
-echo "chatty: 1" >> /etc/imapd.conf
-echo "debug: 1" >> /etc/imapd.conf
+if ! grep -q "chatty" /etc/imapd.conf; then
+ echo "chatty: 1" >> /etc/imapd.conf
+fi
+
+if ! grep -q "debug" /etc/imapd.conf; then
+ echo "debug: 1" >> /etc/imapd.conf
+fi
systemctl restart cyrus-imapd
sed -i -r -e "s/_debug'] = (.*);/_debug'] = true;/g" /etc/roundcubemail/config.inc.php
-echo "FLAGS=\"--fork -l debug -d 8\"" > /etc/sysconfig/wallace
+if ! grep -q "FLAGS=\"--fork -l debug -d 8\"" /etc/sysconfig/wallace; then
+ echo "FLAGS=\"--fork -l debug -d 8\"" > /etc/sysconfig/wallace
+fi
systemctl restart wallace
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 30, 4:58 AM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18768651
Default Alt Text
D3283.1774846721.diff (846 B)
Attached To
Mode
D3283: Improve 09-enable-debugging
Attached
Detach File
Event Timeline