Skip to content

Commit 2f8a706

Browse files
author
Andre Ponert
committed
Removed sudo. We just need to assure webuser is in supervisor group @related: NEOS-49
1 parent 4fc41a1 commit 2f8a706

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/Command/SupervisorCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function updateGroupsCommand(): void
8181
protected function runSupervisorCommand(Model\Group $group, int $key, string $action): bool
8282
{
8383
$output = [];
84-
$command = sprintf('sudo supervisorctl %s %s%s 2>&1',escapeshellarg($action), escapeshellarg($group->getName()), $action !== 'update' ? ':' : '');
84+
$command = sprintf('supervisorctl %s %s%s 2>&1',escapeshellarg($action), escapeshellarg($group->getName()), $action !== 'update' ? ':' : '');
8585
$output = exec($command, $output, $result);
8686
if ($result !== 0) {
8787
if (count($output) > 0) {

0 commit comments

Comments
 (0)