mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
having group = 'www-data' is a legit use case in php conf
This commit is contained in:
parent
e5b29238b2
commit
8fe93728bf
1 changed files with 1 additions and 1 deletions
|
@ -1222,7 +1222,7 @@ class Configurations(TestSuite):
|
|||
else:
|
||||
Level = Warning
|
||||
|
||||
matches = re.findall(r"^ *(User|Group)=(\S+)", content, flags=re.MULTILINE)
|
||||
matches = re.findall(r"^ *(User)=(\S+)", content, flags=re.MULTILINE)
|
||||
if not any(match[0] == "User" for match in matches):
|
||||
yield Level(
|
||||
"You should specify a 'User=' directive in the systemd config !"
|
||||
|
|
Loading…
Reference in a new issue