mirror of
https://github.com/YunoHost-Apps/plume_ynh.git
synced 2024-09-03 20:15:54 +02:00
commit
08d52a16fd
2 changed files with 11 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "Federated blogging application"
|
||||
},
|
||||
"version": "0.2.0~ynh1",
|
||||
"version": "0.2.0~ynh2",
|
||||
"url": "https://baptiste.gelez.xyz/",
|
||||
"license": "AGPL-3.0-only",
|
||||
"maintainer": {
|
||||
|
|
|
@ -118,6 +118,16 @@ ynh_system_user_create "$app" "$final_path"
|
|||
# ...
|
||||
#=================================================
|
||||
|
||||
#=================================================
|
||||
# CLOSE A PORT
|
||||
#=================================================
|
||||
|
||||
if yunohost firewall list | grep -q "\- $port$"
|
||||
then
|
||||
echo "Close port $port" >&2
|
||||
yunohost firewall disallow TCP $port 2>&1
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK PLUME SOURCE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue