X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=switch-mail-host;h=3f299bab601488f44c7d4a7f64ce2601c04ed76c;hp=22e6933509baa36b403f3118c91a9eeb65f1a72c;hb=523b7ff889aaafdcd997d84b2a06744993018e89;hpb=2ff8740f1061a31683152a4447340921de82b1b9 diff --git a/switch-mail-host b/switch-mail-host index 22e6933..3f299ba 100644 --- a/switch-mail-host +++ b/switch-mail-host @@ -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