From 4c17f6b42bb4ac880211d3a9db1a89ea6f936aa1 Mon Sep 17 00:00:00 2001 From: Debian Live user Date: Sat, 29 Apr 2023 14:21:16 -0400 Subject: use firefox bin from $PATH also pass $PATH into firefox process --- src/firefox@.service | 4 ++-- 1 file 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 Wants = ioslay@%i.service [Service] -ExecStart = /usr/local/bin/firefox --new-instance --display=%i +ExecStart = /bin/sh -c 'exec firefox "$@"' sh --new-instance --display=%i Restart = on-failure -PassEnvironment = DISPLAY XAUTHORITY +PassEnvironment = DISPLAY XAUTHORITY PATH MemoryMax = 50% [Install] -- cgit v1.2.3