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
|
# Pull portfolio server sources
|
||||||
cd /srv/portfolio
|
cd /srv/portfolio
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
# Setup portfolio server service
|
|
||||||
cp ./portfolio_server/systemd/portfolio.service /etc/systemd/system
|
|
||||||
|
|
||||||
# Start portfolio server
|
# Start portfolio server
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable portfolio
|
systemctl enable portfolio
|
||||||
|
|
Loading…
Reference in a new issue