bunch of new stuff, a few fixes
[distro-setup] / switch-mail-host
index 22e6933509baa36b403f3118c91a9eeb65f1a72c..3f299bab601488f44c7d4a7f64ce2601c04ed76c 100644 (file)
@@ -294,7 +294,7 @@ fi
 
 # Try to prevent emacs from saving stale data it has in memory to disk. eg: files, recentf list, etc.
 # But if emacs ignores the signal, let it live.
-killall -q emacs ||:
+pkill -xf 'emacs( --daemon| -f znc-all)' ||:
 
 if [[ -e /p/profanity-here ]]; then
   systemctl disable --now profanity