samschott / maestral

Open-source Dropbox client for macOS and Linux
https://maestral.app
MIT License
3.12k stars 64 forks source link

Cross-distro init system detection #840

Closed samschott closed 1 year ago

samschott commented 1 year ago

Look at the contents of /proc/1/comm to detect the init system used on Linux instead of relying on ps -p 1 because ps might not be available or the -p flag may not be supported. Fixes #839.