From 890d7fabae9feef828ad303e54ce2b3bb36c94ca Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 7 Jan 2024 02:00:39 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index e2342de..51b6da1 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -11,8 +11,8 @@ Environment=HOSTNAME=https://__DOMAIN____PATH__ Environment=GIN_MODE=release Environment=FORWARD_IP_HEADER=X-Forwarded-For Environment="__YNH_GO_LOAD_PATH__" -WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/ifconfig.io +WorkingDirectory=__INSTALL_DIR__/go/src/github.com/georgyo/ifconfig.io +ExecStart=__INSTALL_DIR__/go/src/github.com/georgyo/ifconfig.io/ifconfig.io StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit