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:
parent
b5f068a7e9
commit
60ef2515b1
2 changed files with 9 additions and 2 deletions
7
hooks/post_cert_update
Executable file
7
hooks/post_cert_update
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
domain=$1
|
||||||
|
app=$(basename "$0")
|
||||||
|
app=${app#50-} # all hooks are nammed "50-$app".
|
||||||
|
|
||||||
|
systemctl restart "$app"
|
|
@ -13,9 +13,9 @@
|
||||||
"email": "jean-baptiste@holcroft.fr"
|
"email": "jean-baptiste@holcroft.fr"
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 3.1.0"
|
"yunohost": ">= 3.4.0"
|
||||||
},
|
},
|
||||||
"version": "1.2.8~ynh6",
|
"version": "1.2.8~ynh7",
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue