1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00

Merge branch 'master' into patch

This commit is contained in:
ericgaspar 2021-09-08 07:26:12 +02:00
commit b47512e999
3 changed files with 13 additions and 5 deletions

View file

@ -1,12 +1,12 @@
[Unit] [Unit]
Description=Dispatch IRC client Description=Dispatch IRC client
Wants=network-online.target After=network.target
After=network-online.target
[Service] [Service]
Type=simple Type=simple
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__/
ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__ ExecStart=__FINALPATH__/dispatch -a 127.0.0.1 -p __PORT__
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
@ -14,4 +14,4 @@ StartLimitInterval=60s
StartLimitBurst=3 StartLimitBurst=3
[Install] [Install]
WantedBy=default.target WantedBy=multi-user.target

10
doc/DESCRITION.md Normal file
View file

@ -0,0 +1,10 @@
### Features
- Searchable history
- Persistent connections
- Multiple servers and users
- Automatic HTTPS through Let's Encrypt
- Single binary with no dependencies
- DCC downloads
- SASL
- Client certificates

View file

@ -35,8 +35,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2 ynh_script_progression --message="Validating restoration parameters..." --weight=2
ynh_webpath_available --domain=$domain --path_url=$path_url \
|| ynh_die --message="Path not available: ${domain}${path_url}"
test ! -d $final_path \ test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path " || ynh_die --message="There is already a directory: $final_path "