Added blasta.service

This commit is contained in:
Simone 2024-09-04 19:28:43 +02:00
parent a4c4bccc4b
commit 60c6a10517

16
systemd/blasta.service Normal file
View file

@ -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