diff options
Diffstat (limited to 'support-files/mariadb.service.in')
-rw-r--r-- | support-files/mariadb.service.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/support-files/mariadb.service.in b/support-files/mariadb.service.in index bf1e3be7407..b18674bea46 100644 --- a/support-files/mariadb.service.in +++ b/support-files/mariadb.service.in @@ -42,6 +42,9 @@ PrivateNetwork=false User=mysql Group=mysql +# To allow memlock to be used as non-root user if set in configuration +CapabilityBoundingSet=CAP_IPC_LOCK + # Execute pre and post scripts as root, otherwise it does it as User= PermissionsStartOnly=true |