1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mumbleserver_ynh.git synced 2024-09-03 19:46:03 +02:00

restart service on cert update

This commit is contained in:
Jibec 2019-01-02 13:12:15 +02:00
parent b5f068a7e9
commit 60ef2515b1
2 changed files with 9 additions and 2 deletions

7
hooks/post_cert_update Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
domain=$1
app=$(basename "$0")
app=${app#50-} # all hooks are nammed "50-$app".
systemctl restart "$app"

View file

@ -13,9 +13,9 @@
"email": "jean-baptiste@holcroft.fr"
},
"requirements": {
"yunohost": ">= 3.1.0"
"yunohost": ">= 3.4.0"
},
"version": "1.2.8~ynh6",
"version": "1.2.8~ynh7",
"multi_instance": true,
"services": [
],