diff options
author | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-29 14:21:16 -0400 |
---|---|---|
committer | Debian Live user <user@debian-BULLSEYE-live-builder-AMD64> | 2023-04-29 14:21:16 -0400 |
commit | 4c17f6b42bb4ac880211d3a9db1a89ea6f936aa1 (patch) | |
tree | 5007b1df8da2dbdc77d0b1ebe655160420fdc836 /src | |
parent | 922afe6534a3f9e2bc7712c0774858a6b6e7b9fd (diff) |
use firefox bin from $PATH
also pass $PATH into firefox process
Diffstat (limited to 'src')
-rw-r--r-- | src/firefox@.service | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firefox@.service b/src/firefox@.service index e92ffe7..6d953a0 100644 --- a/src/firefox@.service +++ b/src/firefox@.service | |||
@@ -4,9 +4,9 @@ ConditionUser = !root | |||
4 | Wants = ioslay@%i.service | 4 | Wants = ioslay@%i.service |
5 | 5 | ||
6 | [Service] | 6 | [Service] |
7 | ExecStart = /usr/local/bin/firefox --new-instance --display=%i | 7 | ExecStart = /bin/sh -c 'exec firefox "$@"' sh --new-instance --display=%i |
8 | Restart = on-failure | 8 | Restart = on-failure |
9 | PassEnvironment = DISPLAY XAUTHORITY | 9 | PassEnvironment = DISPLAY XAUTHORITY PATH |
10 | MemoryMax = 50% | 10 | MemoryMax = 50% |
11 | 11 | ||
12 | [Install] | 12 | [Install] |