From c2365b9a8bbd282903f8096defaf87856500540d Mon Sep 17 00:00:00 2001 From: denis Date: Fri, 15 Nov 2024 20:21:45 -0500 Subject: [PATCH] Update conf/backend.service --- conf/{systemd.service => backend.service} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename conf/{systemd.service => backend.service} (87%) diff --git a/conf/systemd.service b/conf/backend.service similarity index 87% rename from conf/systemd.service rename to conf/backend.service index 6ccf2a0..4dd432a 100644 --- a/conf/systemd.service +++ b/conf/backend.service @@ -1,5 +1,5 @@ [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 [Service] @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="PATH=__PATH_WITH_NODEJS__" Environment="NODE_ENV=production" -ExecStart=/usr/bin/bash -c "yarn start:backend & yarn start:frontend" +ExecStart=yarn start:frontend Restart=always RestartSec=5 StandardOutput=append:/var/log/__APP__/__APP__.log