Added changing of directory ownership.
This commit is contained in:
@ -19,6 +19,12 @@ then
|
|||||||
groupadd maxscale
|
groupadd maxscale
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Change the owner of the directories to maxscale:maxscale
|
||||||
|
chown maxscale:maxscale @MAXSCALE_VARDIR@/log/maxscale
|
||||||
|
chown maxscale:maxscale @MAXSCALE_VARDIR@/lib/maxscale
|
||||||
|
chown maxscale:maxscale @MAXSCALE_VARDIR@/cache/maxscale
|
||||||
|
chown maxscale:maxscale @MAXSCALE_VARDIR@/run/maxscale
|
||||||
|
|
||||||
# Copy init.d script and ldconfig file
|
# Copy init.d script and ldconfig file
|
||||||
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale /etc/init.d/
|
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale /etc/init.d/
|
||||||
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.conf /etc/ld.so.conf.d/
|
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.conf /etc/ld.so.conf.d/
|
||||||
|
Reference in New Issue
Block a user