mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
Remove stunnel as it's not needed
This commit is contained in:
parent
67639165ec
commit
b9584056d5
4 changed files with 2 additions and 15 deletions
|
@ -1,7 +0,0 @@
|
|||
[Smtp-Starttls]
|
||||
client=yes
|
||||
accept = __PORT_SMTP__
|
||||
connect = 587
|
||||
|
||||
protocol = smtp
|
||||
protocolAuthentication = plain
|
|
@ -62,15 +62,9 @@ ram.runtime = "200M"
|
|||
sync_client.auth_header = false
|
||||
sync_client.additional_urls = ["/Microsoft-Server-ActiveSync", "/principals", "/.well-known/caldav", "/.well-known/carddav"]
|
||||
|
||||
|
||||
[resources.ports]
|
||||
main.default = 20000
|
||||
smtp.default = 20001
|
||||
|
||||
[resources.apt]
|
||||
packages = [
|
||||
"sogo",
|
||||
"stunnel4",
|
||||
"memcached",
|
||||
"mariadb-server",
|
||||
]
|
||||
|
|
|
@ -58,7 +58,6 @@ chmod -R 750 "/var/log/$app"
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd"
|
||||
ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
|
@ -65,13 +65,14 @@ yunohost service add "sogo" --description="Groupware for E-Mail, Contacts and Ca
|
|||
# Use logrotate to manage app-specific logfile(s)
|
||||
ynh_use_logrotate --logfile="/var/log/$app/sogo.log" --nonappend
|
||||
|
||||
set_permissions
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd"
|
||||
ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue