1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Turns out we gotta have the absolute path to nodejs/npm/ruby in systemd confs after all because having PATH in Environment doesn't do the trick >_>

This commit is contained in:
Alexandre Aubin 2024-06-23 15:23:46 +02:00
parent a777eb2570
commit 889dfd374d

View file

@ -324,12 +324,12 @@ def cleanup():
conf_replaces = [
(r"__NAME__", "__APP__"),
(r"__NAMETOCHANGE__", "__APP__"),
("__YNH_NODE__", "node"),
("__YNH_NPM__", "npm"),
("__YNH_NODE__", "__NODEJS_DIR__/node"),
("__YNH_NPM__", "__NODEJS_DIR__/npm"),
("__YNH_NODE_LOAD_PATH__", "PATH=__PATH_WITH_NODEJS__"),
("__YNH_RUBY_LOAD_PATH__", "PATH=__PATH_WITH_RUBY__"),
("__YNH_GO_LOAD_PATH__", "PATH=__PATH_WITH_GO__"),
("__YNH_RUBY__", "ruby"),
("__YNH_RUBY__", "__RUBY_DIR__/ruby"),
("__PHPVERSION__", "__PHP_VERSION__"),
]