Firestarter: Only start certain daemons if we have them set up already

This commit is contained in:
Salt 2020-09-16 12:35:54 -05:00
parent 0cb9846e4b
commit 909fbf124b
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
#.fsdefaults
command -v nextcloud
command -v nextcloud && [ -d "$HOME/.config/Nextcloud" ]
nextcloud --background

View File

@ -1,5 +1,5 @@
#.fsdefaults
command -v syncthing-gtk
command -v syncthing-gtk && [ -d "$HOME/.config/syncthing" ]
syncthing-gtk
command -v syncthing
command -v syncthing && [ -d "$HOME/.config/syncthing" ]
syncthing