mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
Run CyberPanel as user cyberpanel
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user