Remove internal chmod +x after update

According to the .NET 6.0 ZipFile changes, .NET can now preserve chmod +x after extracting archive, so this "workaround" should no longer be needed
This commit is contained in:
Archi
2021-11-11 18:41:52 +01:00
parent 0c8d77b3d9
commit 951d9dc99f
11 changed files with 3 additions and 20 deletions

View File

@@ -99,6 +99,5 @@ while :; do
fi
fi
chmod +x "$SCRIPT_PATH" # If ASF exited by itself, we need to ensure that our script is still set to +x after auto-update
sleep 1
done

View File

@@ -5,7 +5,7 @@ WantedBy=multi-user.target
EnvironmentFile=-/etc/asf/%i
ExecStart=/home/%i/ArchiSteamFarm/ArchiSteamFarm --no-restart --process-required --service --system-required
Restart=on-success
RestartSec=5s
RestartSec=1s
SyslogIdentifier=asf-%i
User=%i