Added changing of directory ownership.
This commit is contained in:
parent
2b457bf372
commit
3fcc1778bb
@ -19,6 +19,12 @@ then
|
||||
groupadd maxscale
|
||||
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
|
||||
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale /etc/init.d/
|
||||
cp @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/maxscale.conf /etc/ld.so.conf.d/
|
||||
|
Loading…
x
Reference in New Issue
Block a user