mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
fix service
This commit is contained in:
parent
09988b1c27
commit
9d4159a170
1 changed files with 3 additions and 1 deletions
|
@ -159,11 +159,13 @@ ynh_add_nginx_config
|
|||
#ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service"
|
||||
#ynh_add_systemd_config
|
||||
|
||||
ynh_replace_string "__APP__" "$app" "../conf/systemd.service"
|
||||
ynh_replace_string "__FINALPATH__" "$final_path" "../conf/systemd.service"
|
||||
ynh_replace_string "__NODEJS__" "$nodejs_use_version" "../conf/systemd.service"
|
||||
ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service"
|
||||
ynh_replace_string "__NODE__" "$nodejs_path" "../conf/systemd.service"
|
||||
cp ../conf/systemd.service /etc/systemd/system/$app.service
|
||||
#ynh_add_systemd_config
|
||||
ynh_add_systemd_config
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
|
Loading…
Reference in a new issue