erol.name
  • Linux
  • Windows
  • Retro gaming
  • C64
  • Mobile
  • Raspberry Pi

erol.name

Tag: running

Posted on 15. 06. 201518. 04. 2017

Bash check if process is running if not start it

I have several scripts that start when my Raspberry Pi is booted, one of them is to start screen session with IRSSI, but sometimes it can happen that two irssi processes are running.

To avoid that I am using a wrapper script eirssi.sh with just:

ps -C irssi || irssi

Continue reading “Bash check if process is running if not start it”

Recent Posts

  • OGA – Odroid Go Advance replace glass screen lens
  • Add IP to CirrOS manually if DHCP fails
  • PHPMailer plugin in Organizr is not working
  • Manually add files and folders to ownCloud
  • Use wget to download entire web site for local browsing

Recent Comments

  • erol on How to additionally clean-up Kodi MySQL database from unwanted entries
  • John on How to additionally clean-up Kodi MySQL database from unwanted entries
  • jackd on Switch axis in pifba retropie emulator configuration
  • polv on Select and hide unmounted drive icons from Xfce desktop
  • erol on Compile Realtek rtl8812AU/8821AU USB WiFi driver on Debian Jessie

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2007-2017 by Erol Tahirović