Skip to content

Commit

Permalink
build: make sure to restart the service during an upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
libvoid committed Sep 20, 2023
1 parent 7367428 commit e2479f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packaging/postinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ if command -v selinuxenabled >/dev/null 2>&1; then
fi

systemctl enable --now sshportal
systemctl enable --now sshportal_clean_session_logs.timer
systemctl enable --now sshportal_clean_session_logs.timer

systemctl restart sshportal
systemctl restart sshportal_clean_session_logs.timer

0 comments on commit e2479f2

Please sign in to comment.