mirror of
https://github.com/YunoHost-Apps/lufi_ynh.git
synced 2024-09-03 19:36:28 +02:00
fix
This commit is contained in:
parent
b85ccc98c8
commit
b24053ca8f
4 changed files with 3 additions and 9 deletions
|
@ -41,12 +41,7 @@ then
|
|||
ldap=""
|
||||
fi
|
||||
|
||||
max_size_set=""
|
||||
if [ $max_file_size -eq 0 ]; then # Comment the limitation line if no limit
|
||||
max_size_set="#"
|
||||
fi
|
||||
|
||||
ynh_add_config --template="../conf/lufi.conf.template" --destination="$install_dir/lufi.conf"
|
||||
ynh_add_config --template="../conf/lufi.conf" --destination="$install_dir/lufi.conf"
|
||||
|
||||
chmod 600 $install_dir/lufi.conf
|
||||
chown $app:$app $install_dir/lufi.conf
|
||||
|
@ -61,7 +56,6 @@ ynh_script_progression --message="Starting a systemd service..."
|
|||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="$install_dir/log/production.log" --line_match="Creating process id file"
|
||||
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -73,7 +73,7 @@ popd
|
|||
#=================================================
|
||||
ynh_script_progression --message="Setuping a cron..."
|
||||
|
||||
ynh_add_config --template="../conf/cron_lufi" --destination="/etc/cron.d/$app"
|
||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
||||
chmod +x $install_dir/script/lufi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -89,7 +89,7 @@ popd
|
|||
#=================================================
|
||||
ynh_script_progression --message="Setuping cron..."
|
||||
|
||||
ynh_add_config --template="../conf/cron_lufi" --destination="/etc/cron.d/$app"
|
||||
ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
|
||||
chmod +x $install_dir/script/lufi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue