start-syncthing 172 B

12345678
  1. #!/bin/sh
  2. if ! ps aux | grep ' [s]yncthing$' ; then
  3. echo no syncthing running
  4. tmu -e syncthing syncthing syncthing
  5. else
  6. echo synthing running, not starting
  7. fi