Run CyberPanel as user cyberpanel

This commit is contained in:
usmannasir
2017-11-05 03:02:51 +05:00
parent a0ddb0d556
commit 9b5ec7d12f
31 changed files with 3775 additions and 305 deletions

View File

@@ -251,7 +251,7 @@ def obtainHostNameSSL(request):
shutil.copy(srcPrivKey, destPrivKey)
shutil.copy(srcFullChain, destCert)
command = 'systemctl restart lscpd'
command = 'sudo systemctl restart lscpd'
cmd = shlex.split(command)
@@ -287,7 +287,7 @@ def obtainHostNameSSL(request):
shutil.copy(srcPrivKey, destPrivKey)
shutil.copy(srcFullChain, destCert)
command = 'systemctl restart lscpd'
command = 'sudo systemctl restart lscpd'
cmd = shlex.split(command)