mirror of
https://github.com/Jackett/Jackett.git
synced 2025-10-03 17:07:44 +02:00
Make systemd scripts executable
This commit is contained in:
@@ -304,6 +304,17 @@ namespace Jackett.Common.Services
|
||||
|
||||
string jackettUpdaterPath = tempDir + "/Jackett/JackettUpdater";
|
||||
filePermissionService.MakeFileExecutable(jackettUpdaterPath);
|
||||
|
||||
if (variant == Variants.JackettVariant.CoreMacOs)
|
||||
{
|
||||
string macosServicePath = tempDir + "/Jackett/install_service_macos";
|
||||
filePermissionService.MakeFileExecutable(macosServicePath);
|
||||
}
|
||||
else
|
||||
{
|
||||
string systemdPath = tempDir + "/Jackett/install_service_systemd.sh";
|
||||
filePermissionService.MakeFileExecutable(systemdPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user