nginx: Fix nginx user on OpenBSD
This commit is contained in:
parent
7ef94e5b11
commit
68a8f63d1b
1 changed files with 2 additions and 7 deletions
|
@ -6,13 +6,8 @@ class nginx(
|
|||
|
||||
case $::operatingsystem {
|
||||
'openbsd': {
|
||||
if $::kernelversion == '5.6' {
|
||||
$user = 'www'
|
||||
$group = 'www'
|
||||
} else {
|
||||
$user = '_nginx'
|
||||
$group = '_nginx'
|
||||
}
|
||||
$user = 'www'
|
||||
$group = 'www'
|
||||
$logdir = '/var/www/logs'
|
||||
}
|
||||
'ubuntu': {
|
||||
|
|
Loading…
Add table
Reference in a new issue