Skip to content

Commit

Permalink
ci: Change how nipapd is started
Browse files Browse the repository at this point in the history
Change how nipapd is started when running the apt tests. From some
reason the daemon won't start with systemd, so let's just start it
manually. Also, it by default tries to drop privileges and then cannot
read some postgres certificate in /root. Thus, avoid dropping
privileges.

And yes, the daemon won't start from systemd without dropping privileges
either.
  • Loading branch information
garberg committed Oct 4, 2023
1 parent 6429645 commit 8972493
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ jobs:
sudo /etc/init.d/nipapd restart
sudo systemctl status nipapd.service
sudo ps auxf | grep nipap
sudo systemctl stop nipapd.service
sleep 5
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"
if: ${{ matrix.upgrade == true }}
Expand Down

0 comments on commit 8972493

Please sign in to comment.