1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

fix template

This commit is contained in:
Thomas 2023-03-02 21:56:14 +01:00 committed by GitHub
parent 7c4de2efdc
commit 02677e54d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View file

@ -96,8 +96,8 @@ ynh_add_nginx_config
ynh_script_progression --message="Configuring a systemd service..." --weight=1
# Create a dedicated systemd config
ynh_add_systemd_config --service="${app}" --template="${app}.service"
ynh_add_systemd_config --service="${app}_workers" --template="${app}_workers.service"
ynh_add_systemd_config --service="${app}" --template="fittrackee.service"
ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers.service"
#=================================================
# GENERIC FINALIZATION

View file

@ -84,11 +84,9 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
ynh_add_config --template="../conf/${app}.target" --destination="/etc/systemd/system/$app.target"
# Create a dedicated systemd config
ynh_add_systemd_config --service="${app}" --template="${app}.service"
ynh_add_systemd_config --service="${app}_workers" --template="${app}_workers.service"
ynh_add_systemd_config --service="${app}" --template="fittrackee.service"
ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers.service"
#=================================================