summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2022-08-06 13:20:44 -0400
committerAndrew Cady <d@jerkface.net>2022-08-06 13:20:44 -0400
commit3e65c82842c3d0798ff8e2e9693baecc012f23d3 (patch)
treea582df32cd79eb47fff6311f724f7a4054c23eac
parent4e81ea3c5d7cadfceca5610aa270313fdaa36c53 (diff)
use config file
-rwxr-xr-xfirestart6
1 files changed, 6 insertions, 0 deletions
diff --git a/firestart b/firestart
index 3fdd944..b146d80 100755
--- a/firestart
+++ b/firestart
@@ -7,6 +7,12 @@ MEMORY_MAX=50%
7READ_OPS=1G 7READ_OPS=1G
8WRITE_OPS=$READ_OPS 8WRITE_OPS=$READ_OPS
9 9
10cfg=$HOME/.config/firestart/conf
11if [ -e "$cfg" ]
12then
13 . "$cfg"
14fi
15
10if systemctl --user is-active "$UNIT" >/dev/null 16if systemctl --user is-active "$UNIT" >/dev/null
11then 17then
12 exec "$CMD" "$@" 18 exec "$CMD" "$@"