summaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorPratyush Desai2021-12-22 05:13:49 +0100
committerPratyush Desai2021-12-22 05:13:49 +0100
commitdc8f806686172d490ae50ac0f9f5d2cdc887d61b (patch)
treeca0e9662475f508ac499ed285521c2a1b79d1497 /systemd
parent53bd1dc536c07e5230bafc6c1b05ffd6f8fd471b (diff)
parent628d53cb3f51749e2f22a5fc83b1c5592b848dac (diff)
downloadsystem-dc8f806686172d490ae50ac0f9f5d2cdc887d61b.tar.gz
system-dc8f806686172d490ae50ac0f9f5d2cdc887d61b.tar.bz2
system-dc8f806686172d490ae50ac0f9f5d2cdc887d61b.zip
Merge pull request 'sh templates and owncast unit file' (#9) from script_owncast into master
Reviewed-on: https://git.com.de/LibertaCasa/system/pulls/9
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