diff options
author | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-28 19:30:12 -0400 |
---|---|---|
committer | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-28 19:30:12 -0400 |
commit | 421d0b23592c1e5838c057813b5615581494c225 (patch) | |
tree | 45ee58580500f172cf454373b04eab3d3e8839d3 | |
parent | 0ddc8c4eb89404383faad62c6dd56467bb144667 (diff) |
use PassEnvironment
-rwxr-xr-x | firestart | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -54,8 +54,7 @@ firefox-io-slayer launch-unit | |||
54 | systemctl --user reset-failed "$UNIT" 2>/dev/null | 54 | systemctl --user reset-failed "$UNIT" 2>/dev/null |
55 | systemd-run --user \ | 55 | systemd-run --user \ |
56 | --unit "$UNIT" \ | 56 | --unit "$UNIT" \ |
57 | --setenv DISPLAY="$DISPLAY" \ | 57 | --property PassEnvironment='DISPLAY XAUTHORITY' \ |
58 | --setenv XAUTHORITY="$XAUTHORITY" \ | ||
59 | --property MemoryMax="$MEMORY_MAX" \ | 58 | --property MemoryMax="$MEMORY_MAX" \ |
60 | --property IOReadIOPSMax="$DEV $READ_OPS" \ | 59 | --property IOReadIOPSMax="$DEV $READ_OPS" \ |
61 | --property IOWriteIOPSMax="$DEV $WRITE_OPS" \ | 60 | --property IOWriteIOPSMax="$DEV $WRITE_OPS" \ |