Skip to content

Commit

Permalink
Add a test for listening on a hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
kzemek committed Mar 23, 2024
1 parent d2b2b2a commit 42950bf
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-startup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,18 @@ jobs:
sudo systemctl daemon-reload
- name: Start go-mmproxy
run: sudo systemctl start go-mmproxy || sudo systemctl status go-mmproxy.service
run: sudo systemctl start go-mmproxy || sudo journalctl -xeu go-mmproxy.service

- name: Check go-mmproxy status
run: systemctl is-active go-mmproxy

- name: Replace listen address of go-mmproxy with a hostname
run: |
sudo sed -i 's/-l 0.0.0.0:1234/-l %H:1234/' /etc/systemd/system/go-mmproxy.service
sudo systemctl daemon-reload
- name: Restart go-mmproxy
run: sudo systemctl restart go-mmproxy || sudo journalctl -xeu go-mmproxy.service

- name: Check go-mmproxy status
run: systemctl is-active go-mmproxy

0 comments on commit 42950bf

Please sign in to comment.