From cf1889eabc698fb7566bdd0b14b43e54c49bd2b6 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Thu, 4 Apr 2024 17:06:30 +0200 Subject: [PATCH] Bug 1859323 - set WorkingDirectory for generic-worker simple engine worker runner expects to run from a directory it can write to. --- .../20-add-and-enable-systemd-service.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/worker-runner-gw-systemd/20-add-and-enable-systemd-service.sh b/scripts/worker-runner-gw-systemd/20-add-and-enable-systemd-service.sh index 753987f..a53d581 100644 --- a/scripts/worker-runner-gw-systemd/20-add-and-enable-systemd-service.sh +++ b/scripts/worker-runner-gw-systemd/20-add-and-enable-systemd-service.sh @@ -23,6 +23,7 @@ ExecStart=/usr/local/bin/start-worker /etc/start-worker.yml StandardOutput=syslog+console StandardError=syslog+console User=ubuntu +WorkingDirectory=~ [Install] WantedBy=multi-user.target