1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00
This commit is contained in:
Éric Gaspar 2023-12-10 20:16:20 +01:00
parent 2669b8b41f
commit a2cf57b4e9
4 changed files with 2 additions and 4 deletions

View file

@ -32,7 +32,6 @@ ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
full_domain = true
[install.rpc_secret]
ask.en = "UUID of the network (rpc-secret) "

View file

@ -83,7 +83,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add --needs_exposed_ports $port --description="s3 storage" --log="/var/log/$app/$app.log" $app
yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.log" --needs_exposed_ports $port
#=================================================
# START SYSTEMD SERVICE

View file

@ -77,13 +77,12 @@ ynh_script_progression --message="Updating a configuration file..."
### ynh_add_config keeps track of the file's checksum)
ynh_add_config --template="garage.toml" --destination="$install_dir/garage.toml"
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add --needs_exposed_ports $port --description="s3 storage" --log="/var/log/$app/$app.log" $app
yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.log" --needs_exposed_ports $port
#=================================================
# START SYSTEMD SERVICE