From 58ad74ffca692121e635f3ff74bd06b58d425e4a Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 5 Jun 2024 20:27:48 +0200 Subject: [PATCH] fix: install service before cd in portfolio_server deploy --- portfolio_server/_deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/portfolio_server/_deploy.sh b/portfolio_server/_deploy.sh index 94b0f30..a731a83 100644 --- a/portfolio_server/_deploy.sh +++ b/portfolio_server/_deploy.sh @@ -1,10 +1,10 @@ +# Setup portfolio server service +cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system + # Pull portfolio server sources cd /srv/portfolio git pull origin main -# Setup portfolio server service -cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system - # Start portfolio server systemctl daemon-reload systemctl enable portfolio