From d06f69f3b2a93d2579259e7a1f423ea8b179b628 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 24 Dec 2022 16:48:46 +0000 Subject: [PATCH] Update file executable_install-program --- .../chezmoi/home/dot_local/bin/executable_install-program | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.local/share/chezmoi/home/dot_local/bin/executable_install-program b/.local/share/chezmoi/home/dot_local/bin/executable_install-program index 25fcd562..15589435 100644 --- a/.local/share/chezmoi/home/dot_local/bin/executable_install-program +++ b/.local/share/chezmoi/home/dot_local/bin/executable_install-program @@ -1522,6 +1522,7 @@ async function updateSystemd(service) { await $`sudo systemctl enable --now ${service}` } catch (e) { log("error", logStage, `There was an error starting / enabling the ${service} service`) + console.error(e) } } else { log("warn", logStage, `The systemctl command is not available so applications with services cannot be started / enabled`) @@ -1532,6 +1533,9 @@ async function updateSystemd(service) { try { log("info", logStage, `Starting / enabling the ${service} service with Homebrew`) await $`brew services start ${service}` + } catch (e) { + log("error", logStage, `There was an error starting / enabling the ${service} Homebrew service`) + console.error(e) } } else { log("warn", logStage, `Homebrew is not available - skipping service start command`)