Skip to content

Commit

Permalink
Removing sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
tcorbly committed Nov 30, 2023
1 parent 564d7e7 commit 6e3ab44
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Create3Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,8 @@ int Create3Widget::isConnected()

void Create3Widget::resetServer()
{
QString stopCommand = "sudo";
QString stopCommand = "systemctl";
QStringList stopArgs = {
"systemctl",
"stop",
"create3_server.service"
};
Expand All @@ -140,9 +139,8 @@ void Create3Widget::resetServer()
qDebug() << "Create3 Server failed to stop or crashed.";
}

QString startCommand = "sudo";
QString startCommand = "systemctl";
QStringList startArgs = {
"systemctl",
"start",
"create3_server.service"
};
Expand Down

0 comments on commit 6e3ab44

Please sign in to comment.