Update conf/backend.service

This commit is contained in:
denis 2024-11-15 20:21:45 -05:00
parent daa2b68989
commit c2365b9a8b

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=A modern and self-hosted take on file uploading services that can handle anything you throw at it thanks to it's robust and fast API, chunked uploads support and more. Description=a beautiful and performant vault to save all your files in the cloud:
After=network.target After=network.target
[Service] [Service]
@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__INSTALL_DIR__/ WorkingDirectory=__INSTALL_DIR__/
Environment="PATH=__PATH_WITH_NODEJS__" Environment="PATH=__PATH_WITH_NODEJS__"
Environment="NODE_ENV=production" Environment="NODE_ENV=production"
ExecStart=/usr/bin/bash -c "yarn start:backend & yarn start:frontend" ExecStart=yarn start:frontend
Restart=always Restart=always
RestartSec=5 RestartSec=5
StandardOutput=append:/var/log/__APP__/__APP__.log StandardOutput=append:/var/log/__APP__/__APP__.log