1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transmission_ynh.git synced 2024-09-04 01:46:12 +02:00

Merge pull request #67 from YunoHost-Apps/testing

Fix install in LXC because of missing /proc/sys/net/core/rmem_max
This commit is contained in:
Alexandre Aubin 2020-09-03 18:48:27 +02:00 committed by GitHub
commit 668eaa5d93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
# Transmission app for YunoHost
[![Integration level](https://dash.yunohost.org/integration/transmission.svg)](https://dash.yunohost.org/appci/app/transmission)
[![Integration level](https://dash.yunohost.org/integration/transmission.svg)](https://dash.yunohost.org/appci/app/transmission) ![](https://ci-apps.yunohost.org/ci/badges/transmission.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/transmission.maintain.svg)
[![Install Transmission with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=transmission)
> *This package allow you to install Transmission quickly and simply on a YunoHost server.
@ -42,7 +42,7 @@ Transmission is a fast, easy, and free BitTorrent client.
## Limitations
## Additionnal informations
```
## Links

View file

@ -130,7 +130,7 @@ ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_f
cp ../conf/settings.json /etc/transmission-daemon/settings.json
cp ../conf/90-transmission.conf /etc/sysctl.d/90-transmission.conf
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
if [ -e /proc/sys/net/core/rmem_max ]; then
sysctl --load=/etc/sysctl.d/90-transmission.conf
fi

View file

@ -74,7 +74,7 @@ ynh_secure_remove --file=/etc/transmission-daemon/settings.json
ynh_restore_file --origin_path=/etc/transmission-daemon/settings.json
ynh_restore_file --origin_path="/etc/sysctl.d/90-transmission.conf"
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
if [ -e /proc/sys/net/core/rmem_max ]; then
sysctl --load=/etc/sysctl.d/90-transmission.conf
fi

View file

@ -138,7 +138,7 @@ cp ../conf/settings.json /etc/transmission-daemon/settings.json
ynh_backup_if_checksum_is_different --file=/etc/sysctl.d/90-transmission.conf
cp ../conf/90-transmission.conf /etc/sysctl.d/90-transmission.conf
if [ ${PACKAGE_CHECK_EXEC:-0} -eq 0 ]; then
if [ -e /proc/sys/net/core/rmem_max ]; then
sysctl --load=/etc/sysctl.d/90-transmission.conf
fi