2021-02-21 20:04:20 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Owncast Service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2022-11-17 23:55:09 +01:00
|
|
|
WorkingDirectory=[path to owncast directory]
|
|
|
|
ReadWritePaths=[path to owncast directory]
|
|
|
|
ExecStart=[path to owncast directory]/owncast
|
|
|
|
Restart=always
|
2021-02-21 20:04:20 +01:00
|
|
|
RestartSec=5
|
2022-11-17 23:55:09 +01:00
|
|
|
User=[user to run owncast as]
|
|
|
|
Group=[group to run owncast as]
|
|
|
|
NoNewPrivileges=true
|
|
|
|
SecureBits=noroot
|
|
|
|
ProtectSystem=strict
|
|
|
|
ProtectHome=read-only
|
2021-02-21 20:04:20 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|