You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docker/docker-init.sh
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,12 @@ if ! /etc/init.d/mysql status; then
38
38
/etc/init.d/mysql start
39
39
fi
40
40
41
+
echo"Checking if syslog is running ..."
42
+
if! /etc/init.d/rsyslog status;then
43
+
echo"Starting syslog ..."
44
+
/etc/init.d/rsyslog start
45
+
fi
46
+
41
47
# Give debian-sys-maint access, to avoid complaints later
42
48
mysql mysql <<<"GRANT ALL PRIVILEGES on *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '$(awk '/^password/ {print $3; exit}' /etc/mysql/debian.cnf )' WITH GRANT OPTION; FLUSH PRIVILEGES;"
0 commit comments