Skip to content

Commit

Permalink
Fix mod_suexec usage
Browse files Browse the repository at this point in the history
The missing newline break apache configuration:

```
apache2: Syntax error on line 50 of /etc/apache2/apache2.conf: Syntax error on line 6 of /etc/apache2/sites-enabled/25-example.com-443.conf:6: <VirtualHost> was not closed.
```

Add the missing new line.

While here, alse remove the legacy (now unused) template and fix
indentation of the generated statement.
  • Loading branch information
smortex committed Nov 19, 2023
1 parent 25efbf0 commit afb9d13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2713,7 +2713,7 @@
concat::fragment { "${name}-suexec":
target => "${priority_real}${filename}.conf",
order => 290,
content => "SuexecUserGroup ${suexec_user_group}",
content => " SuexecUserGroup ${suexec_user_group}\n",
}
}

Expand Down
4 changes: 0 additions & 4 deletions templates/vhost/_suexec.epp

This file was deleted.

0 comments on commit afb9d13

Please sign in to comment.