Skip to content

Commit

Permalink
restart service on cert update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibec committed Jan 2, 2019
1 parent b5f068a commit 60ef251
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions hooks/post_cert_update
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

domain=$1
app=$(basename "$0")
app=${app#50-} # all hooks are nammed "50-$app".

systemctl restart "$app"
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"email": "[email protected]"
},
"requirements": {
"yunohost": ">= 3.1.0"
"yunohost": ">= 3.4.0"
},
"version": "1.2.8~ynh6",
"version": "1.2.8~ynh7",
"multi_instance": true,
"services": [
],
Expand Down

0 comments on commit 60ef251

Please sign in to comment.