diff options
author | Andrew Cady <d@cryptonomic.net> | 2022-11-29 12:00:08 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2022-11-29 12:00:08 -0500 |
commit | 61564e4d18058031d96e207862f72f0628934ea3 (patch) | |
tree | 1a43ee54623384f0b09387c68062905aeefe36f5 | |
parent | 42a4367a83645b2bca1f0a4d48917fb9ec3bbf5b (diff) |
move files to src; add README.txt
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.txt | 35 | ||||
m--------- | firefox-update | 0 | ||||
-rwxr-xr-x | src/cgroup-show-each-new-process (renamed from cgroup-show-each-new-process) | 0 | ||||
-rwxr-xr-x | src/fireslay (renamed from fireslay) | 0 | ||||
-rwxr-xr-x | src/ioslay-firefox (renamed from ioslay-firefox) | 0 | ||||
-rwxr-xr-x | src/ioslay-mgr.sh (renamed from ioslay-mgr.sh) | 0 | ||||
-rwxr-xr-x | src/slice (renamed from slice) | 0 | ||||
-rwxr-xr-x | src/sliceuser (renamed from sliceuser) | 0 | ||||
-rwxr-xr-x | src/sliceweasel (renamed from sliceweasel) | 0 | ||||
-rwxr-xr-x | src/sliceweasel.lib.sh (renamed from sliceweasel.lib.sh) | 0 | ||||
-rw-r--r-- | src/your-fired.sh (renamed from your-fired.sh) | 0 |
12 files changed, 36 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | BINDIR = /usr/local/bin | 1 | BINDIR = /usr/local/bin |
2 | BINARIES = sliceweasel.lib.sh ioslay-mgr.sh firestart firestartx ioslay-firefox | 2 | BINARIES = firestart firestartx $(addprefix src/,sliceweasel.lib.sh ioslay-mgr.sh ioslay-firefox) |
3 | SUDO != [ "$$(id -u)" = 0 ] || echo sudo | 3 | SUDO != [ "$$(id -u)" = 0 ] || echo sudo |
4 | 4 | ||
5 | .PHONY: install install-bin | 5 | .PHONY: install install-bin |
diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..492e278 --- /dev/null +++ b/README.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | TO INSTALL | ||
2 | ========== | ||
3 | |||
4 | Type this command to install: | ||
5 | |||
6 | make install | ||
7 | |||
8 | TO RUN FIREFOX | ||
9 | ============== | ||
10 | |||
11 | Then you can use the two commands: | ||
12 | |||
13 | firestart - start Firefox in a CGroup sandbox (best performance) | ||
14 | firestartx - start Firefox in a CGroup and X server sandbox (recommended) | ||
15 | |||
16 | Within the `firefox` systemd service, a background service called `ioslay` will | ||
17 | be started by `ioslay-mgr.sh`. | ||
18 | |||
19 | The launching of Firefox through either of these commands launches a watchdog | ||
20 | process that kills Firefox processes when they are spinning the disk. | ||
21 | |||
22 | FIRESTART AND FIRESTARTX | ||
23 | ======================== | ||
24 | |||
25 | firestart <firefox arguments> | ||
26 | |||
27 | This command starts Firefox in a CGroup sandbox with at most half of system | ||
28 | memory available. It monitors IO usage and kills web browser tab processes | ||
29 | when IO is saturated. | ||
30 | |||
31 | firestartx <firefox arguments> | ||
32 | |||
33 | This runs `firestart` with $DISPLAY set to a virtual X11 screen that runs in a | ||
34 | window. This prevents Firefox from popping anything up outside of its window | ||
35 | and prevents Firefox from locking up the X server input. | ||
diff --git a/firefox-update b/firefox-update | |||
Subproject 72ffbda9c4f4d9a7a9f3b34c0a965611d7222a8 | Subproject 4facb7f7dc9542db0bb23648a6c113082517c8b | ||
diff --git a/cgroup-show-each-new-process b/src/cgroup-show-each-new-process index d1473f1..d1473f1 100755 --- a/cgroup-show-each-new-process +++ b/src/cgroup-show-each-new-process | |||
diff --git a/ioslay-firefox b/src/ioslay-firefox index 41aa6a4..41aa6a4 100755 --- a/ioslay-firefox +++ b/src/ioslay-firefox | |||
diff --git a/ioslay-mgr.sh b/src/ioslay-mgr.sh index 56ab849..56ab849 100755 --- a/ioslay-mgr.sh +++ b/src/ioslay-mgr.sh | |||
diff --git a/sliceuser b/src/sliceuser index 16d441f..16d441f 100755 --- a/sliceuser +++ b/src/sliceuser | |||
diff --git a/sliceweasel b/src/sliceweasel index f9df2c8..f9df2c8 100755 --- a/sliceweasel +++ b/src/sliceweasel | |||
diff --git a/sliceweasel.lib.sh b/src/sliceweasel.lib.sh index 549e1e8..549e1e8 100755 --- a/sliceweasel.lib.sh +++ b/src/sliceweasel.lib.sh | |||
diff --git a/your-fired.sh b/src/your-fired.sh index 59efaf7..59efaf7 100644 --- a/your-fired.sh +++ b/src/your-fired.sh | |||