forked from cohabit/server_config
fix: install service before cd in portfolio_server deploy
This commit is contained in:
parent
1fba32b2ad
commit
58ad74ffca
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue