summaryrefslogtreecommitdiff
path: root/firestart
diff options
context:
space:
mode:
Diffstat (limited to 'firestart')
-rwxr-xr-xfirestart16
1 files changed, 8 insertions, 8 deletions
diff --git a/firestart b/firestart
index 5be6d02..ce4aa54 100755
--- a/firestart
+++ b/firestart
@@ -18,13 +18,13 @@ DEV=$(echo $(findmnt --target "$DIR" -o MAJ:MIN -n))
18 18
19systemctl --user reset-failed "$UNIT" 2>/dev/null 19systemctl --user reset-failed "$UNIT" 2>/dev/null
20systemd-run --user \ 20systemd-run --user \
21 --unit="$UNIT" \ 21 --unit "$UNIT" \
22 --setenv=DISPLAY="$DISPLAY" \ 22 --setenv DISPLAY="$DISPLAY" \
23 --setenv=XAUTHORITY="$XAUTHORITY" \ 23 --setenv XAUTHORITY="$XAUTHORITY" \
24 --property=MemoryMax="$MEMORY_MAX" \ 24 --property MemoryMax="$MEMORY_MAX" \
25 --property=IOReadIOPSMax="$DEV $READ_OPS" \ 25 --property IOReadIOPSMax="$DEV $READ_OPS" \
26 --property=IOWriteIOPSMax="$DEV $WRITE_OPS" \ 26 --property IOWriteIOPSMax="$DEV $WRITE_OPS" \
27 --property=IOWriteIOPSMax="$DEV $WRITE_OPS" \ 27 --property IOWriteIOPSMax="$DEV $WRITE_OPS" \
28 --property=Restart="on-failure" \ 28 --property Restart="on-failure" \
29 -- \ 29 -- \
30 "$CMD" "$@" 30 "$CMD" "$@"