I installed Monit on my server, as well as the "ProtonMail Bridge".
How to know the path of the "ProtonMail Bridge" service to add it to Monit ?
ubuntu@www-example-com ~ $ ps -ef
I installed Monit on my server, as well as the "ProtonMail Bridge".
How to know the path of the "ProtonMail Bridge" service to add it to Monit ?
ubuntu@www-example-com ~ $ ps -ef
which protonmail-bridge
will immediately show it it if it's in one of the dirs in your $PATH
. (This will probably be the case).locate protonmail-bridge
will find it fast if your locate-database is up to date (it probably is)sudo updatedb
(recommended)find . -type f -executable -name 'protonmail-bridge' -print
Since you have installed a deb package, (as per the instructions for installing) type,
dpkg -l protonmail-bridge
and press tab to complete the package name. It'll show you all the files and the paths installed by the package.