heartbeat
This commit is contained in:
8
justfile
8
justfile
@@ -47,6 +47,14 @@ deploy-backend:
|
||||
ssh root@ajb.dk -- systemctl restart achievements-backend.service
|
||||
just logs-prod
|
||||
|
||||
# Copy the nginx conf to the server and reload nginx
|
||||
deploy-nginx-conf:
|
||||
rsync -avz nginx.conf root@ajb.dk:/etc/nginx/sites-available/achievements.conf
|
||||
ssh plul@ajb.dk cat /etc/nginx/sites-available/achievements.conf
|
||||
ssh root@ajb.dk nginx -T
|
||||
ssh root@ajb.dk systemctl reload nginx
|
||||
|
||||
# List logs with journalctl
|
||||
logs-prod:
|
||||
ssh plul@ajb.dk journalctl -u achievements-backend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user