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:
parent
7c4de2efdc
commit
02677e54d2
2 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue