Skip to content

Commit

Permalink
ci: Cleanup for starting nipapd manually
Browse files Browse the repository at this point in the history
  • Loading branch information
garberg committed Oct 4, 2023
1 parent 809f727 commit 8609326
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,8 @@ jobs:
# create local user for unittests
sudo nipap/nipap-passwd add -u unittest -p gottatest -f /etc/nipap/local_auth.db -n "User for running unit tests"
sudo nipap/nipap-passwd add -u readonly -p gottatest -f /etc/nipap/local_auth.db --readonly -n "Read-only user for running unit tests"
sudo sed -e "s/^db_host *=.*/db_host = localhost/" -e "s/{{SYSLOG}}/true/" -e "s/^debug.\+/debug = true/" -i /etc/nipap/nipap.conf
sudo /etc/init.d/nipapd restart
sudo sed -e "s/^db_host *=.*/db_host = localhost/" -e "s/{{SYSLOG}}/true/" -e "s/^debug.\+/debug = true/" -e "s/^user/#user/" -i /etc/nipap/nipap.conf
sudo systemctl stop nipapd.service
sudo sed -e "s/^user/#user/" -i /etc/nipap/nipap.conf
sudo nipapd --no-pid-file -c /etc/nipap/nipap.conf -df 2>&1 > /tmp/nipap.log &
- name: "Verify pre-upgrade data"
Expand Down

0 comments on commit 8609326

Please sign in to comment.