revert last good3
This commit is contained in:
parent
7d9efacf47
commit
c4171f34c0
|
|
@ -404,6 +404,11 @@ EOF;
|
||||||
}
|
}
|
||||||
unlink($tempFile);
|
unlink($tempFile);
|
||||||
|
|
||||||
|
// Set proper permissions on service file
|
||||||
|
if (!executeCommand("chmod 644 " . SYSTEMD_SERVICE_FILE)) {
|
||||||
|
throw new Exception('Failed to set permissions on systemd service file');
|
||||||
|
}
|
||||||
|
|
||||||
// Reload systemd and enable service
|
// Reload systemd and enable service
|
||||||
if (!executeCommand('systemctl daemon-reload')) {
|
if (!executeCommand('systemctl daemon-reload')) {
|
||||||
throw new Exception('Failed to reload systemd');
|
throw new Exception('Failed to reload systemd');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue