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:
parent
dd35df34e1
commit
093744f127
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue