make it restart after a day
This commit is contained in:
parent
34d40e6073
commit
456cc2559e
@ -4,7 +4,7 @@ Description=Fetch blocks
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=1
|
RestartSec=86400
|
||||||
User=
|
User=
|
||||||
WorkingDirectory=/fedi-block-api
|
WorkingDirectory=/fedi-block-api
|
||||||
ExecStart=python3 fetch_blocks.py
|
ExecStart=python3 fetch_blocks.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user