Skip to content

Commit

Permalink
Use systemd units to manage paxctld state
Browse files Browse the repository at this point in the history
As noted by @conorsch in his review, we should use systemd to manage paxctld state
instead of old sys-v init style in the postinst.
  • Loading branch information
emkll committed Oct 19, 2018
1 parent a48f0f9 commit 5913a7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions securedrop-workstation-grsec/debian/postinst
Expand Up @@ -22,8 +22,9 @@ case "$1" in
configure)
# DKMS autoinstall the qubes kernel modules
dkms autoinstall 4.14.74-grsec
# restart paxctld to set pax flags (incl grub)
service paxctld restart
# enable and restart paxctld to set pax flags (incl grub)
systemctl enable paxctld
systemctl restart paxctld
update-grub
;;

Expand Down

0 comments on commit 5913a7a

Please sign in to comment.