summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@cryptonomic.net>2022-11-29 12:00:08 -0500
committerAndrew Cady <d@cryptonomic.net>2022-11-29 12:00:08 -0500
commit61564e4d18058031d96e207862f72f0628934ea3 (patch)
tree1a43ee54623384f0b09387c68062905aeefe36f5
parent42a4367a83645b2bca1f0a4d48917fb9ec3bbf5b (diff)
move files to src; add README.txt
-rw-r--r--Makefile2
-rw-r--r--README.txt35
m---------firefox-update0
-rwxr-xr-xsrc/cgroup-show-each-new-process (renamed from cgroup-show-each-new-process)0
-rwxr-xr-xsrc/fireslay (renamed from fireslay)0
-rwxr-xr-xsrc/ioslay-firefox (renamed from ioslay-firefox)0
-rwxr-xr-xsrc/ioslay-mgr.sh (renamed from ioslay-mgr.sh)0
-rwxr-xr-xsrc/slice (renamed from slice)0
-rwxr-xr-xsrc/sliceuser (renamed from sliceuser)0
-rwxr-xr-xsrc/sliceweasel (renamed from sliceweasel)0
-rwxr-xr-xsrc/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
diff --git a/Makefile b/Makefile
index e417538..7803bc8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1BINDIR = /usr/local/bin 1BINDIR = /usr/local/bin
2BINARIES = sliceweasel.lib.sh ioslay-mgr.sh firestart firestartx ioslay-firefox 2BINARIES = firestart firestartx $(addprefix src/,sliceweasel.lib.sh ioslay-mgr.sh ioslay-firefox)
3SUDO != [ "$$(id -u)" = 0 ] || echo sudo 3SUDO != [ "$$(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 @@
1TO INSTALL
2==========
3
4Type this command to install:
5
6 make install
7
8TO RUN FIREFOX
9==============
10
11Then 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
16Within the `firefox` systemd service, a background service called `ioslay` will
17be started by `ioslay-mgr.sh`.
18
19The launching of Firefox through either of these commands launches a watchdog
20process that kills Firefox processes when they are spinning the disk.
21
22FIRESTART AND FIRESTARTX
23========================
24
25firestart <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
31firestartx <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/fireslay b/src/fireslay
index 3c68ad5..3c68ad5 100755
--- a/fireslay
+++ b/src/fireslay
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/slice b/src/slice
index 44ae13e..44ae13e 100755
--- a/slice
+++ b/src/slice
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