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 e3bc416
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/test-startup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@ jobs:

- 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 start go-mmproxy || sudo systemctl status go-mmproxy.service

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

0 comments on commit e3bc416

Please sign in to comment.