1
0
Fork 0
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:
liberodark 2018-11-22 17:21:46 +01:00
parent 09988b1c27
commit 9d4159a170

View file

@ -159,11 +159,13 @@ ynh_add_nginx_config
#ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service" #ynh_replace_string "__NODE__" "$nodejs_path" "/etc/systemd/system/$app.service"
#ynh_add_systemd_config #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 "__NODEJS__" "$nodejs_use_version" "../conf/systemd.service"
ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service" ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service"
ynh_replace_string "__NODE__" "$nodejs_path" "../conf/systemd.service" ynh_replace_string "__NODE__" "$nodejs_path" "../conf/systemd.service"
cp ../conf/systemd.service /etc/systemd/system/$app.service cp ../conf/systemd.service /etc/systemd/system/$app.service
#ynh_add_systemd_config ynh_add_systemd_config
#================================================= #=================================================
# CREATE DEDICATED USER # CREATE DEDICATED USER