16 lines
324 B
SYSTEMD
16 lines
324 B
SYSTEMD
|
# /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
|