From 5c4885ba6352e830a00a165768640ede5d63f37e Mon Sep 17 00:00:00 2001 From: Carsten Schmiemann Date: Thu, 10 Feb 2022 00:50:42 +0100 Subject: [PATCH] Added apt sources and other config files --- apt/sources.list.d/grafana.list | 1 + apt/sources.list.d/influxdb.list | 1 + apt/sources.list.d/openhab.list | 1 + fstab | 1 + logrotate.d/openhab2 | 10 ++++++++++ 5 files changed, 14 insertions(+) create mode 100644 apt/sources.list.d/grafana.list create mode 100644 apt/sources.list.d/influxdb.list create mode 100644 apt/sources.list.d/openhab.list create mode 100644 fstab create mode 100644 logrotate.d/openhab2 diff --git a/apt/sources.list.d/grafana.list b/apt/sources.list.d/grafana.list new file mode 100644 index 0000000..adbad20 --- /dev/null +++ b/apt/sources.list.d/grafana.list @@ -0,0 +1 @@ +deb https://packages.grafana.com/oss/deb stable main diff --git a/apt/sources.list.d/influxdb.list b/apt/sources.list.d/influxdb.list new file mode 100644 index 0000000..ea92ff6 --- /dev/null +++ b/apt/sources.list.d/influxdb.list @@ -0,0 +1 @@ +deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/debian buster stable diff --git a/apt/sources.list.d/openhab.list b/apt/sources.list.d/openhab.list new file mode 100644 index 0000000..45ba615 --- /dev/null +++ b/apt/sources.list.d/openhab.list @@ -0,0 +1 @@ +deb https://openhab.jfrog.io/artifactory/openhab-linuxpkg stable main diff --git a/fstab b/fstab new file mode 100644 index 0000000..e755427 --- /dev/null +++ b/fstab @@ -0,0 +1 @@ +tmpfs /var/log/openhab2 tmpfs defaults,noatime,nosuid,uid=openhab,gid=openhab,mode=0755,size=60M 0 0 \ No newline at end of file diff --git a/logrotate.d/openhab2 b/logrotate.d/openhab2 new file mode 100644 index 0000000..ec751e6 --- /dev/null +++ b/logrotate.d/openhab2 @@ -0,0 +1,10 @@ +/var/log/openhab2/*.log { + hourly + rotate 2 + missingok + dateext + copytruncate + compress + notifempty + create 0640 openhab openhab +} \ No newline at end of file