fetch_blocks.service 206 B

12345678910111213
  1. [Unit]
  2. Description=Fetch blocks
  3. [Service]
  4. Type=simple
  5. Restart=always
  6. RestartSec=604800
  7. User=fba
  8. WorkingDirectory=/opt/fedi-block-api
  9. ExecStart=python3 fetch_blocks.py
  10. [Install]
  11. WantedBy=multi-user.target