From 5b290d5a3c1b5be66223d8286a5053a9f347e31c Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 13 Dec 2023 17:09:55 +0100 Subject: [PATCH] adapt working directory to the ynh_setup_source --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 674e703..7a2780d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ After=network-online.target Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__INSTALL_DIR__/terraforming-mars +WorkingDirectory=__INSTALL_DIR__ EnvironmentFile=__INSTALL_DIR__/.env Environment="__YNH_NODE_LOAD_PATH__" Environment=NODE_ENV=production