mirror of
https://github.com/logos-blockchain/logos-blockchain-block-explorer-template.git
synced 2026-06-06 16:49:26 +00:00
add systemd unit file
This commit is contained in:
parent
8e5ec0647c
commit
70c80dd850
13
logos-blockchain-block-explorer.service
Normal file
13
logos-blockchain-block-explorer.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Logos Blockchain Block Explorer
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/root/src/logos-blockchain-block-explorer-template
|
||||
ExecStart=/root/.local/bin/uv run python src/main.py
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
x
Reference in New Issue
Block a user