diff options
Diffstat (limited to 'meta-oe/recipes-support/mysql/mariadb/mysqld.service')
-rw-r--r-- | meta-oe/recipes-support/mysql/mariadb/mysqld.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mysql/mariadb/mysqld.service b/meta-oe/recipes-support/mysql/mariadb/mysqld.service index 757d0386c..d88361703 100644 --- a/meta-oe/recipes-support/mysql/mariadb/mysqld.service +++ b/meta-oe/recipes-support/mysql/mariadb/mysqld.service | |||
@@ -8,7 +8,16 @@ PIDFile=/var/lib/mysql/mysqld.pid | |||
8 | Type=simple | 8 | Type=simple |
9 | User=mysql | 9 | User=mysql |
10 | Group=mysql | 10 | Group=mysql |
11 | |||
12 | # Execute post scripts as root | ||
13 | PermissionsStartOnly=true | ||
14 | |||
15 | # Start main service | ||
11 | ExecStart=@BINDIR@/mysqld_safe --basedir=@PREFIX@ | 16 | ExecStart=@BINDIR@/mysqld_safe --basedir=@PREFIX@ |
17 | |||
18 | # Don't signal startup success before a ping works | ||
19 | ExecStartPost=@BINDIR@/mysql-systemd-start post | ||
20 | |||
12 | TimeoutSec=300 | 21 | TimeoutSec=300 |
13 | PrivateTmp=true | 22 | PrivateTmp=true |
14 | 23 | ||