summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/owncast.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/owncast.service b/systemd/owncast.service
new file mode 100644
index 0000000..a5de359
--- /dev/null
+++ b/systemd/owncast.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Owncast Service
+
+[Service]
+Type=simple
+WorkingDirectory=/opt/owncast/
+ExecStart=/opt/owncast/owncast
+Restart=on-failure
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file