Add user to group before nginx restart.

This commit is contained in:
Antoine Nguyen
2015-10-15 14:46:35 +02:00
parent f1c3c806e7
commit 5212ee6d0d
2 changed files with 3 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
import os
from .. import system
from .. import utils
from . import base
@@ -37,3 +38,5 @@ class Nginx(base.Installer):
if os.path.exists(link):
return
os.symlink(dst, link)
system.add_user_to_group(
"www-data", self.config.get("modoboa", "user"))