summarylogtreecommitdiffstats
path: root/pyca-agentstate.service
diff options
context:
space:
mode:
Diffstat (limited to 'pyca-agentstate.service')
-rw-r--r--pyca-agentstate.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/pyca-agentstate.service b/pyca-agentstate.service
new file mode 100644
index 000000000000..fde29d679329
--- /dev/null
+++ b/pyca-agentstate.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Python Capture Agent agentstate service
+Documentation=https://github.com/opencast/pyCA
+Wants=network.target
+
+[Service]
+Type=simple
+User=pyca
+ExecStart=/usr/bin/pyca agentstate
+Restart=always
+RestartSec=10
+TimeoutSec=300
+
+[Install]
+WantedBy=multi-user.target