From 60c6a10517ec875d3884f74e9a0519f26aa75353 Mon Sep 17 00:00:00 2001 From: roughnecks Date: Wed, 4 Sep 2024 19:28:43 +0200 Subject: [PATCH] Added blasta.service --- systemd/blasta.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 systemd/blasta.service diff --git a/systemd/blasta.service b/systemd/blasta.service new file mode 100644 index 0000000..948b508 --- /dev/null +++ b/systemd/blasta.service @@ -0,0 +1,16 @@ +# /etc/systemd/system/blasta.service +[Unit] +Description=Blasta Bookmarks Service +After=network.target +Requisite=network-online.target + +[Service] +ExecStart=/usr/bin/uvicorn blasta:app --port 11112 +User=blasta +Restart=always +RestartSec=20s +Type=simple +WorkingDirectory=/home/blasta/Blasta + +[Install] +WantedBy=multi-user.target \ No newline at end of file