File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ REMOTE_HOST="${DEPLOY_REMOTE_HOST:-104.36.23.197}"
2222REMOTE_PORT=" ${DEPLOY_REMOTE_PORT:- 2048} "
2323REMOTE_USER=" ${DEPLOY_REMOTE_USER:- ubuntu} "
2424REMOTE_DIR=" ${DEPLOY_REMOTE_DIR:- www/ convert2doc.com/ pdf} "
25+ SERVICE_NAME=${SERVICE_NAME:- convert2doc-pdf)"
2526
2627# Create SSH options
2728SSH_OPTS=" -p $REMOTE_PORT "
6970
7071# Restart the service after all operations are complete
7172echo -e " ${YELLOW} Restarting service...${NC} "
72- ssh $SSH_OPTS $REMOTE_USER @$REMOTE_HOST " sudo systemctl restart convert2doc-pdf .service"
73+ ssh $SSH_OPTS $REMOTE_USER @$REMOTE_HOST " sudo systemctl restart coldfollow-web .service"
7374
7475echo -e " ${GREEN} Service restarted successfully! ${NC} "
7576echo -e " ${GREEN} Deployment with migrations completed successfully! ${NC} "
7677
77- exit 0
78+ exit 0
You can’t perform that action at this time.
0 commit comments