Add restart command for step-ca service
Restart step-ca service after updating packages.
This commit is contained in:
parent
9eac665957
commit
5194bf18ca
@ -30,6 +30,7 @@ function update_script() {
|
|||||||
msg_info "Updating step-ca and step-cli"
|
msg_info "Updating step-ca and step-cli"
|
||||||
$STD apt update
|
$STD apt update
|
||||||
$STD apt upgrade -y step-ca step-cli
|
$STD apt upgrade -y step-ca step-cli
|
||||||
|
$STD systemctl restart step-ca
|
||||||
msg_ok "Updated step-ca and step-cli"
|
msg_ok "Updated step-ca and step-cli"
|
||||||
|
|
||||||
if check_for_gh_release "step-badger" "lukasz-lobocki/step-badger"; then
|
if check_for_gh_release "step-badger" "lukasz-lobocki/step-badger"; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user