Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
6729588d
Commit
6729588d
authored
Dec 18, 2017
by
Jim Bailey
Committed by
Joshua Tauberer
Dec 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed temp_dir to /var/temp/roundcube to avoid loss on reboot. (#1302)
parent
5f14eca6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
webmail.sh
setup/webmail.sh
+3
-3
No files found.
setup/webmail.sh
View file @
6729588d
...
@@ -106,7 +106,7 @@ cat > $RCM_CONFIG <<EOF;
...
@@ -106,7 +106,7 @@ cat > $RCM_CONFIG <<EOF;
*/
*/
\$
config = array();
\$
config = array();
\$
config['log_dir'] = '/var/log/roundcubemail/';
\$
config['log_dir'] = '/var/log/roundcubemail/';
\$
config['temp_dir'] = '/tmp/roundcubemail/';
\$
config['temp_dir'] = '/
var/
tmp/roundcubemail/';
\$
config['db_dsnw'] = 'sqlite:///
$STORAGE_ROOT
/mail/roundcube/roundcube.sqlite?mode=0640';
\$
config['db_dsnw'] = 'sqlite:///
$STORAGE_ROOT
/mail/roundcube/roundcube.sqlite?mode=0640';
\$
config['default_host'] = 'ssl://localhost';
\$
config['default_host'] = 'ssl://localhost';
\$
config['default_port'] = 993;
\$
config['default_port'] = 993;
...
@@ -159,8 +159,8 @@ cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php <<EOF;
...
@@ -159,8 +159,8 @@ cat > ${RCM_PLUGIN_DIR}/carddav/config.inc.php <<EOF;
EOF
EOF
# Create writable directories.
# Create writable directories.
mkdir
-p
/var/log/roundcubemail /tmp/roundcubemail
$STORAGE_ROOT
/mail/roundcube
mkdir
-p
/var/log/roundcubemail /
var/
tmp/roundcubemail
$STORAGE_ROOT
/mail/roundcube
chown
-R
www-data.www-data /var/log/roundcubemail /tmp/roundcubemail
$STORAGE_ROOT
/mail/roundcube
chown
-R
www-data.www-data /var/log/roundcubemail /
var/
tmp/roundcubemail
$STORAGE_ROOT
/mail/roundcube
# Ensure the log file monitored by fail2ban exists, or else fail2ban can't start.
# Ensure the log file monitored by fail2ban exists, or else fail2ban can't start.
sudo
-u
www-data
touch
/var/log/roundcubemail/errors
sudo
-u
www-data
touch
/var/log/roundcubemail/errors
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment