1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ztncui_ynh.git synced 2024-09-03 18:06:05 +02:00

[fix] ...

This commit is contained in:
tituspijean 2020-04-19 16:11:52 +02:00
parent 92d0de9ac6
commit 02bb04a50c
2 changed files with 1 additions and 3 deletions

View file

@ -7,7 +7,7 @@ Type=simple
User=ztncui User=ztncui
Group=ztncui Group=ztncui
Environment="__YNH_NODE_LOAD_PATH__" Environment="__YNH_NODE_LOAD_PATH__"
WorkingDirectory=__FINAL_PATH__/src/ WorkingDirectory=__FINALPATH__/src/
ExecStart=__YNH_NPM__ start ExecStart=__YNH_NPM__ start
[Install] [Install]

View file

@ -97,8 +97,6 @@ ynh_add_systemd_config_vars () {
# FUTURE OFFICIAL HELPERS # FUTURE OFFICIAL HELPERS
#================================================= #=================================================
#!/bin/bash
n_install_dir="/opt/node_n" n_install_dir="/opt/node_n"
node_version_path="$n_install_dir/n/versions/node" node_version_path="$n_install_dir/n/versions/node"
# N_PREFIX is the directory of n, it needs to be loaded as a environment variable. # N_PREFIX is the directory of n, it needs to be loaded as a environment variable.