owncast-sample.service 402 B

12345678910111213141516171819
  1. [Unit]
  2. Description=Owncast Service
  3. [Service]
  4. Type=simple
  5. WorkingDirectory=[path to owncast directory]
  6. ReadWritePaths=[path to owncast directory]
  7. ExecStart=[path to owncast directory]/owncast
  8. Restart=always
  9. RestartSec=5
  10. User=[user to run owncast as]
  11. Group=[group to run owncast as]
  12. NoNewPrivileges=true
  13. SecureBits=noroot
  14. ProtectSystem=strict
  15. ProtectHome=read-only
  16. [Install]
  17. WantedBy=multi-user.target