diff --git a/conf/systemd.service b/conf/systemd.service index 758f22e..92031a1 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=bash __INSTALL_DIR__/run.sh +ExecStart=yarn start StandardOutput=append:/var/log/__APP__/__APP__.log StandardError=inherit