Markus Makela
6ea209d13a
Added a timeout for the systemd script
...
The fact that the maxscale process exits only after all services have been
started means that systemd will kill the maxscale process if starting the
services takes too long. Since the user authentication data is loaded on
startup and can take up a long time, there needs to be a longer than
default timeout for systems that use systemd.
2015-11-26 09:28:04 +02:00
Markus Makela
0705f38bb9
Fix to MXS-464: https://mariadb.atlassian.net/browse/MXS-464
...
The ownership change for the /var folders is now done recursively.
2015-11-12 09:42:24 +02:00
Markus Makela
bed6666338
Fix to MXS-367: https://mariadb.atlassian.net/browse/MXS-367
...
Template config file is copied as maxscale.cnf if no configuration file is found.
If /etc/maxscale.cnf is not found, the /etc/maxscale.cnf.template will be copied as /etc/maxscale.cnf.
This allows MaxScale to start right after installation if combined with a running and properly configured server.
2015-10-27 09:31:55 +02:00
Markus Makela
4d7629038d
Fix to MXS-302: https://mariadb.atlassian.net/browse/MXS-302
...
Added support for additional command line parameters via sysconfig files.
2015-09-30 13:13:49 +03:00
Markus Makela
2f0ef4ad31
Configuration files from older installations no longer overwrite existing files.
2015-09-24 14:39:21 +03:00
Markus Makela
e93f922e21
Cleaned up Ubuntu init scripts.
2015-09-07 14:03:30 +03:00
Markus Makela
ccfc6fe780
Fix to MXS-317: https://mariadb.atlassian.net/browse/MXS-317
...
Log, lib, cache and run directories are created on start if they do not exist.
The ownership of the directories is changed to maxscale and the permissions are set to 0755.
2015-08-31 10:07:30 +03:00
Markus Makela
cf704c0072
Added missing install command switch.
2015-08-03 10:59:52 +03:00
Markus Makela
1b4fd2c2eb
Fix to MXS-293: https://mariadb.atlassian.net/browse/MXS-293
2015-08-03 09:52:53 +03:00
Markus Makela
ffd62edf27
Merge branch 'develop' of https://github.com/mariadb-corporation/MaxScale into develop
2015-08-03 08:43:25 +03:00
Markus Makela
35c24aebf8
Fix to MXS-297: https://mariadb.atlassian.net/browse/MXS-297
...
Changed the ldconfig file destionation to /etc/ld.so.conf.d
2015-08-03 08:40:40 +03:00
markus456
81dcb2d0eb
Merge pull request #88 from tanji/centos7-systemd-fix
...
CentOS 7 systemd service file fixes
2015-08-03 08:03:17 +03:00
Guillaume Lefranc
40f4156ec4
Create PID dir on initialization
2015-07-30 12:44:14 +02:00
Guillaume Lefranc
89d8e452c5
Use install binary instead of mkdir/chown
2015-07-30 12:31:49 +02:00
Guillaume Lefranc
c6cd8cfac9
Increase file limit to 64K based on consultant feedback
2015-07-29 18:18:13 +02:00
Guillaume Lefranc
9a6553972a
Set a higher default open file limit
2015-07-29 17:54:12 +02:00
Guillaume Lefranc
4550a95a2e
Create PID dir on service start
2015-07-29 17:53:41 +02:00
Markus Makela
162f7d0961
Added daemon-reload to the postinst script.
2015-07-22 17:41:48 +03:00
Markus Makela
05991384a6
Added missing removal of systemd files to the postinstall script.
2015-06-27 09:51:59 +03:00
Markus Makela
d5e94d5df6
Merge branch 'MXS-179' into develop
2015-06-18 15:11:51 +03:00
Markus Makela
fd42395d00
Removed mandb call from postinstall script and added cmake messages about systemd service file installation.
2015-06-18 08:17:02 +03:00
Markus Makela
2ea7ff61a2
Fixed init.d and systemd scripts.
2015-06-16 14:20:53 +03:00
Markus Makela
a562eb7cee
Merge branch 'develop' into MXS-179
...
Conflicts:
CMakeLists.txt
2015-06-15 16:44:01 +03:00
Markus Makela
521e1aaf3b
Added man page for maxscale.
2015-06-12 02:55:07 +03:00
Markus Makela
8ac79cf2ad
Fixed some hard-coded paths being used instead of CMake variable values.
2015-06-11 10:28:35 +03:00
Markus Makela
528e69b726
Added a warning about 1.2 changes to the postinstall script
2015-06-09 12:51:43 +03:00
Markus Makela
6f58f29494
Added a guide on how to have a HA setup of MaxScale with lsyncd.
2015-06-04 19:14:53 +03:00
Markus Makela
98d98c589e
Added an Lsyncd configuration file.
2015-06-04 13:30:36 +03:00
Markus Makela
f4dee6d584
Fixed systemd service file not starting with the maxscale user.
2015-05-28 12:11:49 +03:00
Markus Makela
5f076b81d4
Merge branch 'install_dir_change' into develop
...
Conflicts:
CMakeLists.txt
Documentation/Tutorials/Administration-Tutorial.md
log_manager/CMakeLists.txt
server/core/CMakeLists.txt
server/core/gateway.c
server/core/maxkeys.c
server/core/maxpasswd.c
server/modules/filter/test/CMakeLists.txt
server/modules/routing/CMakeLists.txt
2015-05-26 13:34:39 +03:00
Markus Makela
72066a4262
Added a conditional for systemd script installation and changed directory rights for the maxscale user.
2015-05-22 14:12:40 +03:00
Markus Makela
6d9765f736
Added copying of old configuration files to new directories.
2015-05-21 15:22:18 +03:00
Markus Makela
e794c0953c
Added systemd script installation
2015-05-19 18:17:42 +03:00
Markus Makela
b41130b533
Fixed the useradd command in the postinst script having he command line arguments in the wrong order.
2015-05-12 08:11:10 +03:00
Markus Makela
3fcc1778bb
Added changing of directory ownership.
2015-05-12 06:43:36 +03:00
Markus Makela
2b457bf372
Updated init.d and systemd scripts.
2015-05-11 06:19:06 +03:00
Markus Makela
fb8359b5ca
Fixed missing installation of init.d and ldconfig files.
2015-05-06 12:34:10 +03:00
Markus Makela
7a56be5f3d
Fixed LSB compatible init.d script missing reload functionality.
2015-04-30 11:36:33 +03:00
Markus Makela
71531cde3e
Updated package installation and started documentation update.
2015-04-28 11:09:49 +03:00
Markus Makela
9e0a2bfc12
Changed relevant files to use get_cachedir() instead of using the now deprecated MAXSCALE_HOME.
2015-04-27 21:55:57 +03:00
Markus Makela
55249193a9
Updated post-install scripts and binlogrouter
...
Binlogrouter: Switched hard-coded maximum path values to PATH_MAX and used cache directory instead of MAXSCALE_HOME
Scripts: Updated with new executable file paths
2015-04-27 14:47:26 +03:00
Markus Makela
10e9203b5b
Updated postinst script
2015-04-26 11:39:00 +03:00
Markus Makela
ed426ca30d
Updated packaging install layout, moved some cmake files around.
2015-04-26 06:35:36 +03:00
Markus Makela
786f34cf49
Fixed typos in documentation.
2015-04-14 20:36:29 +03:00
Markus Makela
0b23487918
Added a fix to post uninstall scripts.
2015-03-19 20:21:13 +02:00
Markus Makela
23bcabe5e3
Fix for MXS-50: https://mariadb.atlassian.net/browse/MXS-50
2015-03-19 15:19:53 +02:00
Markus Makela
239afd065b
Changed install to cp in postinst script.
2015-03-19 15:05:27 +02:00
Markus Makela
b3092edd6a
Added killproc back to non-ubuntu scripts.
2015-03-11 13:35:04 +02:00
Timofey Turenko
89ce2823e5
redirect all output from start_daemon to /dev/null
2015-03-04 21:52:51 +02:00
Timofey Turenko
3dacb257c9
Revert "add 'nohup' to init.d script for Ubuntu"
...
This reverts commit d892c928ede0bb4e21b10c2bddf7c2c3504cfc76.
2015-03-04 21:38:52 +02:00