Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahogony
php
Commits
aafb1585
Commit
aafb1585
authored
Jan 07, 2019
by
mh
Browse files
options such as mail might require setuid/setgid and hence we can't disable this by default
parent
9dee3ca7
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/fpm.pp
View file @
aafb1585
...
...
@@ -8,6 +8,7 @@ define php::fpm(
Hash
$additional_envs
=
{},
Hash
$php_settings
=
{},
Hash
$fpm_settings
=
{},
Hash
$systemd_options
=
{},
String
$run_user
=
"
${name}
_run"
,
String
$run_group
=
$name
,
Array
[
Stdlib
::
Compat
::
Absolute_Path
]
...
...
templates/fpm/systemd-service.erb
View file @
aafb1585
...
...
@@ -16,7 +16,9 @@ RuntimeDirectory=fpm-<%= @name %>
SyslogIdentifier=fpm-
<%=
@name
%>
# security settings
PrivateTmp=true
<%
if
@systemd_options
[
'no_new_privileges'
]
-%>
NoNewPrivileges=true
<%
end
-%>
ProtectSystem=full
# to be migrated once in EL7
# ProtectSystem=strict
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment