summaryrefslogtreecommitdiff
path: root/config/debuginfod.service
diff options
context:
space:
mode:
Diffstat (limited to 'config/debuginfod.service')
-rw-r--r--config/debuginfod.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/debuginfod.service b/config/debuginfod.service
new file mode 100644
index 00000000..d8ef072b
--- /dev/null
+++ b/config/debuginfod.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=elfutils debuginfo-over-http server
+Documentation=http://elfutils.org/
+After=network.target
+
+[Service]
+EnvironmentFile=/etc/sysconfig/debuginfod
+User=debuginfod
+Group=debuginfod
+#CacheDirectory=debuginfod
+ExecStart=/usr/bin/debuginfod -d /var/cache/debuginfod/debuginfod.sqlite -p $DEBUGINFOD_PORT $DEBUGINFOD_VERBOSE $DEBUGINFOD_PRAGMAS $DEBUGINFOD_PATHS
+TimeoutStopSec=10
+
+[Install]
+WantedBy=multi-user.target