From b06ef7ed08e4eefd7f56c3ff9c1bd78db2b3eca4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 3 Apr 2018 23:03:47 +0200 Subject: [PATCH] Create zram-run.service --- .../usr/lib/systemd/system/zram-run.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 buildroot-external/rootfs-overlay/usr/lib/systemd/system/zram-run.service diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/zram-run.service b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/zram-run.service new file mode 100644 index 000000000..4796f9090 --- /dev/null +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/zram-run.service @@ -0,0 +1,12 @@ +[Unit] +Description=Hassio ZRAM run +Requires=run.mount +Before=run.mount + +[Service] +Type=oneshot +ExecStart=/sbin/hassio-zram -t sf -m run -s 16M +RemainAfterExit=true + +[Install] +WantedBy=hassio-zram.target