<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Systemd on CeMoCom</title><link>https://www.cemocom.de/tags/systemd/</link><description>Recent content in Systemd on CeMoCom</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 15 Feb 2022 21:00:16 +0000</lastBuildDate><atom:link href="https://www.cemocom.de/tags/systemd/feed.xml" rel="self" type="application/rss+xml"/><item><title>Running TTN Prometheus Exporter as systemd Service</title><link>https://www.cemocom.de/2022/02/15/running-ttn-prometheus-exporter-as-systemd-service/</link><pubDate>Tue, 15 Feb 2022 21:00:16 +0000</pubDate><guid>https://www.cemocom.de/2022/02/15/running-ttn-prometheus-exporter-as-systemd-service/</guid><description>&lt;h2 id="background"&gt;Background&lt;/h2&gt;
&lt;p&gt;In previous posts we presented a Prometheus exporter to monitor for monitoring TheThingsNetwork gateways. The exporter can directly be executed in a terminal. However, to use it productively it should run in the background as a service. This article demonstrates how this can be achieved using the system and service manager systemd on Linux systems.&lt;/p&gt;
&lt;h2 id="preparation"&gt;Preparation&lt;/h2&gt;
&lt;p&gt;The first step is to prepare the environment where the Prometheus exporter is installed. Throughout this article we will use the directory &lt;code&gt;/usr/local/bin/prometheus-ttn-exporter&lt;/code&gt;. However, any other directory in the local file system is also possible.&lt;/p&gt;</description></item></channel></rss>