-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Firefox 94.0 not detected at startup #310
Comments
Thanks for reporting this... will need to look into a workaround if the one you proposed is problematic... need to think though the full pattern match. |
I think I have found a solution that meets the following constraints:
I created a new function:
Other functions
|
Accidentally closed |
PR #316 fix the problem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all, thanks for this software.
With Firefox 94.0 (and since version 93.0?) pgrep and pkill are not executed in the profile-sync-daemon script.
(pgrep error code = 1)
Functions concerned:
pgrep takes into account the first 15 characters of
/proc/<firefox_pid>/stat
which is:GeckoMain
See Note in man pgrep/pkill:
Using the -f option, the detection of a firefox process is OK
This is probably not a good solution, but it's OK after replacing in the main script /usr/bin/profile-sync-daemon:
pgrep/pkill -x -u "$user" "$PSNAME"
bypgrep/pkill -u "$user" -f "$PSNAME"
!!!Warning!!! : in this case all the processes and sub-processes containing the word 'firefox' in their command line will be taken into account for detection (
running_check ()
) and stopped (kill_browsers ()
).The text was updated successfully, but these errors were encountered: