mirror of
https://github.com/YunoHost-Apps/transmission_ynh.git
synced 2024-09-04 01:46:12 +02:00
fix
This commit is contained in:
parent
6e99ddec0d
commit
da819c9676
3 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ ynh_script_progression --message="Creating a data directory..."
|
|||
mkdir -p $data_dir/{progress,completed,watched}
|
||||
|
||||
chmod -R 764 $data_dir
|
||||
chmod -R 777 $data_dir/watched
|
||||
chmod -R 775 $data_dir/watched
|
||||
chown -R debian-transmission:www-data "$data_dir"
|
||||
chown -R debian-transmission: $data_dir/{progress,watched}
|
||||
|
||||
|
@ -96,7 +96,7 @@ ynh_replace_string "<div id=\"toolbar-inspector\" title=\"Toggle Inspector\"></d
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$peer_port"
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$port_peer"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -20,7 +20,7 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
|||
mkdir -p $data_dir/{progress,completed,watched}
|
||||
|
||||
chmod -R 764 $data_dir
|
||||
chmod -R 777 $data_dir/watched
|
||||
chmod -R 775 $data_dir/watched
|
||||
chown -R debian-transmission:www-data "$data_dir"
|
||||
chown -R debian-transmission: $data_dir/{progress,watched}
|
||||
|
||||
|
@ -80,7 +80,7 @@ ynh_multimedia_addfolder --source_dir="$data_dir/watched" --dest_dir="share/Torr
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$peer_port"
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$port_peer"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
|
@ -42,7 +42,7 @@ ynh_script_progression --message="Creating a data directory..."
|
|||
mkdir -p $data_dir/{progress,completed,watched}
|
||||
|
||||
chmod -R 764 $data_dir
|
||||
chmod -R 777 $data_dir/watched
|
||||
chmod -R 775 $data_dir/watched
|
||||
chown -R debian-transmission:www-data "$data_dir"
|
||||
chown -R debian-transmission: $data_dir/{progress,watched}
|
||||
|
||||
|
@ -111,7 +111,7 @@ ynh_replace_string "<div id=\"toolbar-inspector\" title=\"Toggle Inspector\"></d
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..."
|
||||
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$peer_port"
|
||||
yunohost service add transmission-daemon --description="BitTorrent Client" --log=systemd --needs_exposed_ports="$port_peer"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue