Skip to content

Commit 111ab1c

Browse files
oops
1 parent 014df2e commit 111ab1c

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/createrelease.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ jobs:
8888
- name: Download the artifact
8989
uses: actions/[email protected]
9090
with:
91-
name: securityservice
92-
path: /tmp/securityservice # Download to a temporary directory
91+
name: messagingservice
92+
path: /tmp/messagingservice # Download to a temporary directory
9393

9494
- name: Remove existing service (if applicable)
9595
run: |
96-
SERVICE_NAME="securityservice"
96+
SERVICE_NAME="messagingservice"
9797
if systemctl is-active --quiet "$SERVICE_NAME"; then
9898
echo "Stopping existing service..."
9999
sudo systemctl stop "$SERVICE_NAME"
@@ -110,8 +110,8 @@ jobs:
110110
111111
- name: Unzip the files
112112
run: |
113-
sudo mkdir -p /opt/txnproc/transactionprocessing/securityservice
114-
sudo unzip -o /tmp/securityservice/securityservice.zip -d /opt/txnproc/transactionprocessing/securityservice
113+
sudo mkdir -p /opt/txnproc/transactionprocessing/messagingservice
114+
sudo unzip -o /tmp/messagingservice/messagingservice.zip -d /opt/txnproc/transactionprocessing/messagingservice
115115
116116
# IMPORTANT: Add a step to ensure the .NET runtime is installed on the server
117117
# This assumes it's not already there. If your base image already has it, you can skip this.
@@ -128,11 +128,11 @@ jobs:
128128
129129
- name: Install and Start as a Linux service
130130
run: |
131-
SERVICE_NAME="securityservice"
131+
SERVICE_NAME="messagingservice"
132132
# The WorkingDirectory is crucial for .NET apps to find appsettings.json and other files
133-
WORKING_DIRECTORY="/opt/txnproc/transactionprocessing/securityservice"
134-
DLL_NAME="SecurityService.dll" # Your application's DLL
135-
SERVICE_DESCRIPTION="Transaction Processing - Security Service"
133+
WORKING_DIRECTORY="/opt/txnproc/transactionprocessing/messagingservice"
134+
DLL_NAME="MessagingService.dll" # Your application's DLL
135+
SERVICE_DESCRIPTION="Transaction Processing - Messaging Service"
136136
137137
# Create a systemd service file
138138
echo "[Unit]" | sudo tee /etc/systemd/system/${SERVICE_NAME}.service
@@ -167,12 +167,12 @@ jobs:
167167
- name: Download the artifact
168168
uses: actions/[email protected]
169169
with:
170-
name: securityservice
171-
path: /tmp/securityservice # Download to a temporary directory
170+
name: messagingservice
171+
path: /tmp/messagingservice # Download to a temporary directory
172172

173173
- name: Remove existing service (if applicable)
174174
run: |
175-
SERVICE_NAME="securityservice"
175+
SERVICE_NAME="messagingservice"
176176
if systemctl is-active --quiet "$SERVICE_NAME"; then
177177
echo "Stopping existing service..."
178178
sudo systemctl stop "$SERVICE_NAME"
@@ -189,8 +189,8 @@ jobs:
189189
190190
- name: Unzip the files
191191
run: |
192-
sudo mkdir -p /opt/txnproc/transactionprocessing/securityservice
193-
sudo unzip -o /tmp/securityservice/securityservice.zip -d /opt/txnproc/transactionprocessing/securityservice
192+
sudo mkdir -p /opt/txnproc/transactionprocessing/messagingservice
193+
sudo unzip -o /tmp/messagingservice/messagingservice.zip -d /opt/txnproc/transactionprocessing/messagingservice
194194
195195
# IMPORTANT: Add a step to ensure the .NET runtime is installed on the server
196196
# This assumes it's not already there. If your base image already has it, you can skip this.
@@ -207,11 +207,11 @@ jobs:
207207
208208
- name: Install and Start as a Linux service
209209
run: |
210-
SERVICE_NAME="securityservice"
210+
SERVICE_NAME="messagingservice"
211211
# The WorkingDirectory is crucial for .NET apps to find appsettings.json and other files
212-
WORKING_DIRECTORY="/opt/txnproc/transactionprocessing/securityservice"
213-
DLL_NAME="SecurityService.dll" # Your application's DLL
214-
SERVICE_DESCRIPTION="Transaction Processing - Security Service"
212+
WORKING_DIRECTORY="/opt/txnproc/transactionprocessing/messagingservice"
213+
DLL_NAME="MessagingService.dll" # Your application's DLL
214+
SERVICE_DESCRIPTION="Transaction Processing - Messaging Service"
215215
216216
# Create a systemd service file
217217
echo "[Unit]" | sudo tee /etc/systemd/system/${SERVICE_NAME}.service
@@ -234,4 +234,4 @@ jobs:
234234
sudo systemctl daemon-reload
235235
sudo systemctl enable "$SERVICE_NAME"
236236
sudo systemctl start "$SERVICE_NAME"
237-
sudo systemctl status "$SERVICE_NAME" --no-pager # For debugging/verification
237+
sudo systemctl status "$SERVICE_NAME" --no-pager # For debugging/verification

0 commit comments

Comments
 (0)