Updated init.d and systemd scripts.

This commit is contained in:
Markus Makela
2015-05-11 06:19:06 +03:00
parent 63060d1233
commit 2b457bf372
5 changed files with 27 additions and 12 deletions

View File

@ -1,7 +1,4 @@
# Set the install layout
# Possible values:
# STANDALONE - Installs to /usr/local
# PACKAGE - Installs to /usr
include(GNUInstallDirs)
set(MAXSCALE_LIBDIR ${CMAKE_INSTALL_LIBDIR}/maxscale CACHE PATH "Library installation path")
@ -9,5 +6,7 @@ set(MAXSCALE_BINDIR ${CMAKE_INSTALL_BINDIR} CACHE PATH "Executable installation
set(MAXSCALE_SHAREDIR ${CMAKE_INSTALL_DATADIR}/maxscale CACHE PATH "Share file installation path, includes licence and readme files")
set(MAXSCALE_DOCDIR ${CMAKE_INSTALL_DOCDIR}/maxscale CACHE PATH "Documentation installation path, text versions only")
set(MAXSCALE_CONFDIR ${CMAKE_INSTALL_SYSCONFDIR} CACHE PATH "Configuration file installation path, this is not usually needed")
# This is the only hard-coded absolute path
set(MAXSCALE_VARDIR /var CACHE PATH "Data file path (usually /var/)")