Skip to content

Commit a369fea

Browse files
committed
Update test-systemd.yml
1 parent 64478c1 commit a369fea

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/test-systemd.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ jobs:
6060
systemctl is-enabled lucee_ctl | tee -a $GITHUB_STEP_SUMMARY
6161
echo '```' >> $GITHUB_STEP_SUMMARY
6262
63+
- name: Stop Lucee started by installer (so systemd can manage it)
64+
run: |
65+
sudo /opt/lucee/lucee_ctl stop
66+
sleep 2
67+
# Remove stale PID file if exists
68+
sudo rm -f /opt/lucee/tomcat/work/tomcat.pid
69+
6370
- name: Test systemctl start
6471
run: |
6572
sudo systemctl start lucee_ctl

0 commit comments

Comments
 (0)