diff --git a/conf/systemd.service b/conf/systemd.service index a469cbb..dce29bf 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__ -ExecStart=node__FINALPATH__/server/index.js +ExecStart=__FINALPATH__/server/index.js Restart=always Environment=PATH=/usr/bin:/usr/local/bin:__NODEJS_PATH__ Environment=NODE_ENV=production