diff options
author | Andrew Cady <d@cryptonomic.net> | 2022-04-04 10:29:05 -0400 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2022-04-04 10:34:20 -0400 |
commit | f887aebab9b0a25e1151b492cf131c391f33dab6 (patch) | |
tree | 123ef2269c54754d7552759fa800876cb4765694 /firestart | |
parent | 7c17d07ac3c9213565345c6cf75cced5b592c318 (diff) |
assume firestart cgroup layout
also:
ioslay-mgr will warn once when ff is not running, but not
spam logs with errors
Diffstat (limited to 'firestart')
-rwxr-xr-x | firestart | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -18,13 +18,13 @@ DEV=$(echo $(findmnt --target "$DIR" -o MAJ:MIN -n)) | |||
18 | 18 | ||
19 | systemctl --user reset-failed "$UNIT" 2>/dev/null | 19 | systemctl --user reset-failed "$UNIT" 2>/dev/null |
20 | systemd-run --user \ | 20 | systemd-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" "$@" |