Skip to content

Commit

Permalink
Call upgrade-config and check at debian package upgrades
Browse files Browse the repository at this point in the history
Closes #1551
  • Loading branch information
Birger Schacht committed Oct 16, 2020
1 parent 25eba93 commit 3fe38fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/intelmq.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if [ "$1" = "configure" ] ; then
chmod -R g+w /var/lib/intelmq/*
chown -R intelmq:intelmq /etc/intelmq/ /var/lib/intelmq/ /var/log/intelmq/
systemd-tmpfiles --create /usr/lib/tmpfiles.d/intelmq.conf

runuser -u intelmq -- /usr/bin/intelmqctl upgrade-config
runuser -u intelmq -- /usr/bin/intelmqctl -q check --no-connections
fi

#DEBHELPER#

0 comments on commit 3fe38fc

Please sign in to comment.