fix logic on systemd and mysql/mariadb existence
This commit is contained in:
parent
16a593e904
commit
a68c95ba73
|
@ -67,7 +67,7 @@ if [ "$1" = "configure" ]; then
|
|||
|
||||
if [ "$ZM_DB_HOST" = "localhost" ]; then
|
||||
|
||||
if [ $SYSTEMD -eq 1 ] && [ -e "/lib/systemd/system/mysql.service" ] || [ -e "/lib/systemd/system/mariadb.service" ]; then
|
||||
if [ $SYSTEMD -eq 1 ] && ([ -e "/lib/systemd/system/mysql.service" ] || [ -e "/lib/systemd/system/mariadb.service" ]); then
|
||||
#
|
||||
# Get mysql started if it isn't running
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue