1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00

Update systemd.service: manually add __NODE_DIR__ to systemd conf because systemd won't look in the PATH declared in Environment ~_~

This commit is contained in:
Alexandre Aubin 2024-06-23 16:20:21 +02:00 committed by GitHub
parent dd35df34e1
commit 093744f127
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
Environment=PATH=__PATH_WITH_NODEJS__
Environment=NODE_ENV=production
ExecStart=node tiddlywiki ++languages/__LANGUAGE__ __DATA_DIR__ --listen port=__PORT__
ExecStart=__NODE_DIR__/node tiddlywiki ++languages/__LANGUAGE__ __DATA_DIR__ --listen port=__PORT__
Restart=always
# Sandboxing options to harden security