systemd-unit-nginx-conf #10
1 changed files with 16 additions and 0 deletions
16
systemd/blasta.service
Normal file
16
systemd/blasta.service
Normal 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
|
Loading…
Reference in a new issue