Archi
890709429c
Misc
2023-12-13 10:02:19 +01:00
Archi
608229f962
Kill netf leftovers
2023-11-14 22:17:12 +01:00
Łukasz Domeradzki
b34f18497d
.NET 8 ( #3005 )
...
* Initial .NET 8
* Make it compile in release mode ignoring warnings for now
* First round of improvements
* Second round of improvements
* Third round of improvements
* Use new throws
* Fix .NET Framework, YAY, thanks madness!
Madness devs are awesome
* Misc
* Misc
* AF_NETLINK might be required for some http calls
No clue why
* Fix service files
Doesn't do what it should
* Update CardsFarmer.cs
* New improvements
* Address feedback
* Misc
* Misc
* Misc refactor
* Misc
2023-11-14 19:12:33 +01:00
Archi
f2563c582c
Closes #3014
...
AF_UNIX is apparently needed on arch
AF_NETLINK will be mandatory since .NET 8, but based on my research even .NET 7 uses it in some conditions, so it makes sense to patch it right away as our previous settings were too restrictive, even if it did in fact work
2023-09-27 13:48:00 +02:00
Archi
c7610a918d
Use ProcSubset=pid in systemd
2023-08-02 11:59:48 +02:00
Łukasz Domeradzki
c89366b0a6
Closes #2827 ( #2829 )
2023-02-26 10:59:48 +01:00
Archi
628386859b
Misc
2023-01-20 14:22:57 +01:00
Archi
1b0fe9cf45
Add desktop entry for generic and generic-netf too
2023-01-20 14:21:03 +01:00
Archi
946e88fb51
Remove unnecessary quotation
2023-01-20 13:56:33 +01:00
Archi
eed29fc330
Add desktop entry for linux
2023-01-20 13:48:31 +01:00
JustArchi
3b7e4479a1
Closes #2739
2022-11-16 13:56:41 +01:00
JustArchi
96296028c1
Closes #2719
2022-10-12 13:49:19 +02:00
JustArchi
f3bb15670b
Handle extreme edge case of ASF_USER=root
2022-10-11 17:16:12 +02:00
JustArchi
319f1218de
Closes #2717
...
chown operation done by ASF is not mandatory for following with the rest of the script. It can fail e.g. for read-only filesystems, which is completely fine, worst case user will have to deal with the mess he has created himself.
2022-10-11 16:30:38 +02:00
JustArchi
31295babac
Further enhance ASF systemd hardening
...
Tested on my rpi
2022-10-01 00:45:48 +02:00
JustArchi
6ee2696c53
Revert "Add explanation to ASF service hardening ( #2707 )"
...
This reverts commit f09c7cbb19 .
2022-10-01 00:22:39 +02:00
Ms Floofie
f09c7cbb19
Add explanation to ASF service hardening ( #2707 )
...
Co-authored-by: Floofie <sysmin@floofie.org >
2022-09-30 20:44:42 +02:00
JustArchi
56754053c3
Correct overlay for dockerfiles
2022-07-21 10:41:35 +02:00
Sebastian Göls
41ecfb1d02
Move copying of overlay files to ArchiSteamFarm.csproj ( #2650 )
...
* Move copying of overlay files to ArchiSteamFarm.csproj
* Fix build on Windows
* Try to make it more reliable
* Update ArchiSteamFarm.csproj
* Update ArchiSteamFarm.csproj
* Revert "Update ArchiSteamFarm.csproj"
This reverts commit ba41b2e3c1 .
* Rename
Co-authored-by: JustArchi <JustArchi@JustArchi.net >
2022-07-19 22:20:18 +02:00
Archi
d8a0d2f22d
OCD
2021-12-10 15:00:59 +01:00
Archi
88996d1e35
Make ASF helper scripts aware of --service
2021-12-10 14:59:19 +01:00
Archi
951d9dc99f
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
2021-11-11 18:41:52 +01:00
Archi
67ddef7fa1
Change systemd dependencies
...
According to https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ it's recommended for us to just use After=network.target to ensure that we're able to shutdown before systemd purges network connectivity
2021-10-22 10:44:06 +02:00
Archi
618ff781eb
Use ASF user account inside docker
2021-10-17 16:19:07 +02:00
Archi
6450a11302
systemd service update
2021-10-15 23:36:16 +02:00
Archi
b48e73d939
Further systemd security hardening
2021-10-09 01:19:23 +02:00
Archi
454e9cdef4
Correct ReadWritePaths for systemd service
...
/tmp/ASF does not exist by default which will cause this rule to fail, we can limit ourselves to /tmp instead
2021-10-09 00:23:51 +02:00
Archi
79fb4da9a6
systemd updates
2021-09-27 11:05:39 +02:00
Archi
032dd6333d
Implement first version of ArchiSteamFarm@.service
...
Service files for other variants will follow once this one is finished
2021-09-26 03:10:35 +02:00
Archi
300c1c19ec
Implement some deduplication for overlay
...
Including 3 same scripts for linux is overkill, osx and linux could also be aggregated to "unix" but too much work
2021-09-26 00:12:15 +02:00
Archi
d479eb9f97
Address Rider EAP inspections/cleanup
2021-07-12 21:45:17 +02:00
JustArchi
b06deaa149
chmod +x
2021-05-15 23:31:46 +02:00
JustArchi
8559604332
Correct scripts for osx compatibility
2021-05-15 23:31:16 +02:00
JustArchi
01bc30e49c
master -> main
2021-01-20 21:14:45 +01:00
Łukasz Domeradzki
35f4651ed6
.NET 5.0 ( #1999 )
...
* Initial work
* Fix CIs
* Fix warnings
* Update .travis.yml
* Update dockerfiles
* Update libraries to .NET 5.0
* Misc
* Remove workaround for #1812
* Update cc.sh
* CI updates
* CI updates
* Update .travis.yml
2020-11-10 23:22:57 +01:00
JustArchi
185dde9d34
Address possible .NET Core tmp path change in #1812
2020-06-08 14:29:52 +02:00
JustArchi
28ebc497d8
Add awful workaround for #1812
2020-06-05 17:30:03 +02:00
JustArchi
36bfbb69c6
chmod +x
2020-04-08 19:33:13 +02:00
JustArchi
289d3e90b7
Closes #1728
2020-04-08 19:32:53 +02:00
JustArchi
2f2bc140af
+x for both
2020-04-04 13:05:06 +02:00
JustArchi
b4e9d8ae48
Move the script under linux-* so it also exists in the final archive
2020-04-04 13:04:45 +02:00
JustArchi
e62b22beb9
+x for new script
2020-04-04 12:59:58 +02:00
JustArchi
ea07ee18b8
Closes #1720
2020-04-04 12:59:24 +02:00
JustArchi
633146a3f9
Rewrite ASF scripts to POSIX sh
2019-11-07 22:02:59 +01:00
JustArchi
4c6254359f
Move statically copied files to overlay
2019-08-08 23:56:12 +02:00
JustArchi
36b2a4b505
Add support of ASF_PATH to shell scripts + misc
2019-08-03 02:16:16 +02:00
JustArchi
e5756ac8e6
Enable logs archiving
2019-07-27 19:22:22 +02:00
JustArchi
5f14684d37
Misc bash scripts improvements
2019-02-19 00:59:26 +01:00
JustArchi
1bbdce06c4
Apply chmod +x
2019-01-12 02:03:04 +01:00
JustArchi
da8ffec706
Merge scripts with overlay
2019-01-12 02:00:19 +01:00