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:
commit
668eaa5d93
4 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# Transmission app for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/transmission)
|
||||
[](https://dash.yunohost.org/appci/app/transmission)  
|
||||
[](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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue