1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00
This commit is contained in:
ericgaspar 2021-05-13 20:13:52 +02:00
parent eb64c65a6a
commit 2b00cad86f
2 changed files with 4 additions and 0 deletions

View file

@ -119,6 +119,8 @@ ynh_add_config --template="../conf/config.default.json" --destination="$final_pa
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service"
ynh_add_systemd_config
#=================================================

View file

@ -128,6 +128,8 @@ ynh_system_user_create --username=$app
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=2
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="../conf/systemd.service"
ynh_add_systemd_config
#=================================================