diff --git a/conf/systemd.service b/conf/systemd.service index 64633e2..9902637 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,8 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__ -Environment='NODE_ENV=production' +Environment=PATH=__ENV_PATH__ +Environment=NODE_ENV=production ExecStart=__YNH_NODE__ mynewwiki --listen port=__PORT__ #authenticated-user-header=basic Restart=always