1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ghost_ynh.git synced 2024-09-03 19:16:02 +02:00

Add path to ghost-cli to PATH

This commit is contained in:
tituspijean 2023-08-18 16:31:33 +02:00
parent f796e46e38
commit 66953f3922
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -7,7 +7,7 @@ Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ghost
Environment="__YNH_NODE_LOAD_PATH__"
Environment="__YNH_NODE_LOAD_PATH__:__INSTALL_DIR__/node_modules/ghost-cli/bin"
Environment="NODE_ENV=production"
ExecStart=__YNH_NODE__ __INSTALL_DIR__/node_modules/ghost-cli/bin/ghost run
Restart=always