From 4d4aad084c793c84793a67290fbf9960f6e0415f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 4 Mar 2021 21:03:49 -0800 Subject: [PATCH] remove hard dep on systemd-resolved the start.sh script does a "systemctl restart systemd-resolved". this ends up restarting the box code prematurely! and then later when mysql restarts, the box code loses connection and bad things happen (tm) especially during a platform update. we don't log to journald anymore, so not sure if EPIPE is still an issue --- setup/start/systemd/box.service | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup/start/systemd/box.service b/setup/start/systemd/box.service index 8a1d23265..35d9b59b8 100644 --- a/setup/start/systemd/box.service +++ b/setup/start/systemd/box.service @@ -1,8 +1,6 @@ [Unit] Description=Cloudron Admin OnFailure=crashnotifier@%n.service -; journald crashes result in a EPIPE in node. Cannot ignore it as it results in loss of logs. -BindsTo=systemd-journald.service After=mysql.service nginx.service ; As cloudron-resize-fs is a one-shot, the Wants= automatically ensures that the service *finishes* Wants=cloudron-resize-fs.service