mirror of
https://github.com/YunoHost-Apps/yunorunner_ynh.git
synced 2024-09-03 20:36:13 +02:00
Stupid lack of templating system in 2021
This commit is contained in:
parent
e7c7971292
commit
7b3acfc9b2
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ ynh_add_systemd_config
|
|||
# CHANGE PORT IN YUNORUNNER
|
||||
#=================================================
|
||||
|
||||
ynh_replace_string "__DOMAIN__" "$domain" "/etc/systemd/system/$app.service"
|
||||
ynh_replace_string "__PATH__" "$path_url" "/etc/systemd/system/$app.service"
|
||||
ynh_replace_string "__PORT__" "$port" "/etc/systemd/system/$app.service"
|
||||
# Calculate and store the config file checksum into the app settings
|
||||
ynh_store_file_checksum "/etc/systemd/system/$app.service"
|
||||
|
|
Loading…
Add table
Reference in a new issue